{"openapi":"3.1.0","info":{"title":"Welt API","description":"Private preview. See /v1/models for enabled execution capabilities.","version":"0.1.0"},"paths":{"/v1/auth/config":{"get":{"summary":"Configuration","operationId":"configuration_v1_auth_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthConfig"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/auth/signup":{"post":{"summary":"Signup","operationId":"signup_v1_auth_signup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignUp"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthStatus"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/auth/verify":{"post":{"summary":"Verify","operationId":"verify_v1_auth_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthStatus"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/auth/verification":{"post":{"summary":"Resend Verification","operationId":"resend_verification_v1_auth_verification_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerificationInput"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthStatus"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/auth/signin":{"post":{"summary":"Signin","operationId":"signin_v1_auth_signin_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResource"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/invitations/preview":{"post":{"summary":"Preview","operationId":"preview_v1_invitations_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationPreview"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/invitations/pending":{"get":{"summary":"Pending","operationId":"pending_v1_invitations_pending_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationPreview"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/invitations/accept-pending":{"post":{"summary":"Accept Pending","operationId":"accept_pending_v1_invitations_accept_pending_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationDecision"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResource"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/auth/oauth/start":{"post":{"summary":"Start","operationId":"start_v1_auth_oauth_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthStart"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthRedirect"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/auth/oauth/callback":{"get":{"summary":"Finish","operationId":"finish_v1_auth_oauth_callback_get","responses":{"303":{"description":"Successful Response"},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/auth/session":{"get":{"summary":"Current","operationId":"current_v1_auth_session_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResource"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/auth/logout":{"post":{"summary":"Logout","operationId":"logout_v1_auth_logout_post","responses":{"204":{"description":"Successful Response"},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/auth/recovery":{"post":{"summary":"Recovery","operationId":"recovery_v1_auth_recovery_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailInput"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthStatus"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/auth/reset":{"post":{"summary":"Reset","operationId":"reset_v1_auth_reset_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PasswordReset"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthStatus"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/auth/logout-all":{"post":{"summary":"Logout All","description":"Revoke every browser session of the account; API keys stay valid.","operationId":"logout_all_v1_auth_logout_all_post","responses":{"204":{"description":"Successful Response"},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/account":{"get":{"summary":"Identity","operationId":"identity_v1_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountResource"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]},"patch":{"summary":"Profile","operationId":"profile_v1_account_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileUpdate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResource"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/auth/workspace":{"post":{"summary":"Switch","operationId":"switch_v1_auth_workspace_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceSelect"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResource"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/workspaces":{"get":{"summary":"Mine","operationId":"mine_v1_workspaces_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList_WorkspaceSummary_"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]},"post":{"summary":"Create","operationId":"create_v1_workspaces_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceDetail"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/workspaces/{workspace_id}":{"get":{"summary":"One","operationId":"one_v1_workspaces__workspace_id__get","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceDetail"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}},"patch":{"summary":"Update","operationId":"update_v1_workspaces__workspace_id__patch","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspacePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkspaceDetail"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/workspaces/{workspace_id}/members":{"get":{"summary":"Members","operationId":"members_v1_workspaces__workspace_id__members_get","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList_MemberResource_"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/workspace/members":{"get":{"summary":"Members","operationId":"members_v1_workspace_members_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList_MemberResource_"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/workspaces/{workspace_id}/members/{user_id}":{"patch":{"summary":"Change Role","operationId":"change_role_v1_workspaces__workspace_id__members__user_id__patch","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberRoleUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}},"delete":{"summary":"Remove Member","operationId":"remove_member_v1_workspaces__workspace_id__members__user_id__delete","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}},{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/workspace/members/{user_id}":{"patch":{"summary":"Change Role","operationId":"change_role_v1_workspace_members__user_id__patch","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberRoleUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MemberResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}},"delete":{"summary":"Remove Member","operationId":"remove_member_v1_workspace_members__user_id__delete","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/workspaces/{workspace_id}/invitations":{"get":{"summary":"Invitations","operationId":"invitations_v1_workspaces__workspace_id__invitations_get","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList_InvitationResource_"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}},"post":{"summary":"Invite","operationId":"invite_v1_workspaces__workspace_id__invitations_post","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationIssued"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/workspace/invitations":{"get":{"summary":"Invitations","operationId":"invitations_v1_workspace_invitations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList_InvitationResource_"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]},"post":{"summary":"Invite","operationId":"invite_v1_workspace_invitations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationIssued"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/workspaces/{workspace_id}/invitations/{invitation_id}":{"delete":{"summary":"Revoke Invitation","operationId":"revoke_invitation_v1_workspaces__workspace_id__invitations__invitation_id__delete","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"invitation_id","in":"path","required":true,"schema":{"type":"string","title":"Invitation Id"}},{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/workspace/invitations/{invitation_id}":{"delete":{"summary":"Revoke Invitation","operationId":"revoke_invitation_v1_workspace_invitations__invitation_id__delete","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"invitation_id","in":"path","required":true,"schema":{"type":"string","title":"Invitation Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/invitations/accept":{"post":{"summary":"Accept","operationId":"accept_v1_invitations_accept_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResource"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/workspaces/{workspace_id}/keys":{"get":{"summary":"Keys","operationId":"keys_v1_workspaces__workspace_id__keys_get","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList_KeyResource_"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}},"post":{"summary":"Issue Key","operationId":"issue_key_v1_workspaces__workspace_id__keys_post","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyIssued"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/keys":{"get":{"summary":"Keys","operationId":"keys_v1_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList_KeyResource_"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]},"post":{"summary":"Issue Key","operationId":"issue_key_v1_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyIssued"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/workspaces/{workspace_id}/keys/{key_id}":{"delete":{"summary":"Revoke Key","operationId":"revoke_key_v1_workspaces__workspace_id__keys__key_id__delete","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}},{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/keys/{key_id}":{"delete":{"summary":"Revoke Key","operationId":"revoke_key_v1_keys__key_id__delete","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/workspaces/{workspace_id}/billing":{"get":{"summary":"Read","description":"Balance, recent ledger, spend controls and packs. Owners and admins read; an owner's\nfirst visit creates the workspace's Stripe customer when Stripe is configured. The\nledger is ours, so the summary works without a Stripe key (``stripe_configured`` false).","operationId":"read_v1_workspaces__workspace_id__billing_get","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingSummary"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}},"patch":{"summary":"Spend Controls","description":"Owner-only spend cap and alert threshold (API-084); null clears a control. Needs no Stripe.","operationId":"spend_controls_v1_workspaces__workspace_id__billing_patch","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpendControlsPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingSummary"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/workspace/billing":{"get":{"summary":"Read","description":"Balance, recent ledger, spend controls and packs. Owners and admins read; an owner's\nfirst visit creates the workspace's Stripe customer when Stripe is configured. The\nledger is ours, so the summary works without a Stripe key (``stripe_configured`` false).","operationId":"read_v1_workspace_billing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingSummary"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]},"patch":{"summary":"Spend Controls","description":"Owner-only spend cap and alert threshold (API-084); null clears a control. Needs no Stripe.","operationId":"spend_controls_v1_workspace_billing_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpendControlsPatch"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingSummary"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/workspaces/{workspace_id}/billing/checkout":{"post":{"summary":"Checkout","operationId":"checkout_v1_workspaces__workspace_id__billing_checkout_post","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/workspace/billing/checkout":{"post":{"summary":"Checkout","operationId":"checkout_v1_workspace_billing_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectResource"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/workspaces/{workspace_id}/billing/subscribe":{"post":{"summary":"Subscribe","description":"Owner-only Checkout Session in subscription mode for a plan (API-085). 422\n``plan_unavailable`` for a personal workspace, 409 ``already_subscribed`` while a\nsubscription is live (change or cancel it in the portal). The plan takes effect\nonly through the webhooks.","operationId":"subscribe_v1_workspaces__workspace_id__billing_subscribe_post","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscribeCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/workspace/billing/subscribe":{"post":{"summary":"Subscribe","description":"Owner-only Checkout Session in subscription mode for a plan (API-085). 422\n``plan_unavailable`` for a personal workspace, 409 ``already_subscribed`` while a\nsubscription is live (change or cancel it in the portal). The plan takes effect\nonly through the webhooks.","operationId":"subscribe_v1_workspace_billing_subscribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscribeCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectResource"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/workspaces/{workspace_id}/billing/portal":{"post":{"summary":"Portal","description":"Customer Portal session (payment methods, invoices and, once the portal\nconfiguration allows it, plan changes and cancellation) returning to the console.","operationId":"portal_v1_workspaces__workspace_id__billing_portal_post","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"workspace_id","in":"path","required":true,"schema":{"type":"string","title":"Workspace Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/workspace/billing/portal":{"post":{"summary":"Portal","description":"Customer Portal session (payment methods, invoices and, once the portal\nconfiguration allows it, plan changes and cancellation) returning to the console.","operationId":"portal_v1_workspace_billing_portal_post","responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectResource"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/billing/pricing":{"get":{"tags":["Billing"],"summary":"Pricing Summary","description":"Public and cacheable: the rate card in force with its per-operation rates, the\ncredit unit, packs, plans, the free grant and the DEC-052 sample-table costs, all\ncomputed server-side. No authentication, no workspace data.","operationId":"pricing_summary_v1_billing_pricing_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingSummary"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/billing/webhooks/stripe":{"post":{"summary":"Webhook","description":"Unauthenticated; the Stripe-Signature header is the credential. 200 acknowledges\n(including duplicates), 400 rejects a bad signature, 500 asks Stripe to retry.","operationId":"webhook_v1_billing_webhooks_stripe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookAck"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/auth/device":{"post":{"tags":["Device connection"],"summary":"Start","operationId":"start_v1_auth_device_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceStart"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceStarted"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}},"get":{"tags":["Device connection"],"summary":"Inspect","operationId":"inspect_v1_auth_device_get","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"user_code","in":"query","required":true,"schema":{"type":"string","title":"User Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceView"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/auth/device/decision":{"post":{"tags":["Device connection"],"summary":"Decide","operationId":"decide_v1_auth_device_decision_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceDecision"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceDecided"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/auth/device/token":{"post":{"tags":["Device connection"],"summary":"Consume","operationId":"consume_v1_auth_device_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceToken"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/DeviceConnected"},{"$ref":"#/components/schemas/DevicePending"}],"title":"Response Consume V1 Auth Device Token Post"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DevicePending"}}}}}}},"/v1/onboarding":{"get":{"tags":["Onboarding"],"summary":"Status","operationId":"status_v1_onboarding_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingStatus"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/onboarding/celebration":{"post":{"tags":["Onboarding"],"summary":"Acknowledge","operationId":"acknowledge_v1_onboarding_celebration_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CelebrationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CelebrationReceipt"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"APIKeyCookie":[]}]}},"/v1/oauth/requests/{request_id}":{"get":{"tags":["MCP authorization"],"summary":"Request View","operationId":"request_view_v1_oauth_requests__request_id__get","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthRequestView"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/oauth/requests/{request_id}/decision":{"post":{"tags":["MCP authorization"],"summary":"Decision","operationId":"decision_v1_oauth_requests__request_id__decision_post","security":[{"APIKeyCookie":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthDecision"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthDecided"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/data/connections":{"get":{"tags":["Upstream data"],"summary":"Connections","operationId":"connections_v1_data_connections_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SourceConnection"},"type":"array","title":"Response Connections V1 Data Connections Get"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/data/connections/{source_id}":{"put":{"tags":["Upstream data"],"summary":"Connect","operationId":"connect_v1_data_connections__source_id__put","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"enum":["fred","census","open_meteo","eia","comtrade"],"type":"string","title":"Source Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceConnectionInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceConnection"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/data/connections/{source_id}/revoke":{"post":{"tags":["Upstream data"],"summary":"Revoke Connection","operationId":"revoke_connection_v1_data_connections__source_id__revoke_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"source_id","in":"path","required":true,"schema":{"enum":["fred","census","open_meteo","eia","comtrade"],"type":"string","title":"Source Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceConnection"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/data/datasets":{"get":{"tags":["Upstream data"],"summary":"Catalogue","operationId":"catalogue_v1_data_datasets_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Q"}},{"name":"source","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Source"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DatasetDescription"},"title":"Response Catalogue V1 Data Datasets Get"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/data/datasets/{dataset_id}":{"get":{"tags":["Upstream data"],"summary":"Describe","operationId":"describe_v1_data_datasets__dataset_id__get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetDescription"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/data/retrievals":{"post":{"tags":["Upstream data"],"summary":"Submit","operationId":"submit_v1_data_retrievals_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"idempotency-key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataQuery"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetrievalStatus"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/data/retrievals/{job_id}":{"get":{"tags":["Upstream data"],"summary":"Status","operationId":"status_v1_data_retrievals__job_id__get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetrievalStatus"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/data/retrievals/{job_id}/cancel":{"post":{"tags":["Upstream data"],"summary":"Cancel","operationId":"cancel_v1_data_retrievals__job_id__cancel_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetrievalStatus"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/data/results/{result_id}":{"get":{"tags":["Upstream data"],"summary":"Result","operationId":"result_v1_data_results__result_id__get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","title":"Result Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":0,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultPreview"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}},"delete":{"tags":["Upstream data"],"summary":"Delete","operationId":"delete_v1_data_results__result_id__delete","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","title":"Result Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/data/results/{result_id}/download":{"get":{"tags":["Upstream data"],"summary":"Download","operationId":"download_v1_data_results__result_id__download_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","title":"Result Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/FredResult"},{"$ref":"#/components/schemas/WorldBankResult"},{"$ref":"#/components/schemas/CensusResult"},{"$ref":"#/components/schemas/OecdResult"},{"$ref":"#/components/schemas/EurostatResult"},{"$ref":"#/components/schemas/OpenMeteoResult"},{"$ref":"#/components/schemas/OnsResult"},{"$ref":"#/components/schemas/EiaResult"},{"$ref":"#/components/schemas/ComtradeResult"},{"$ref":"#/components/schemas/ImfResult"}],"title":"Response Download V1 Data Results  Result Id  Download Get"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/data/results/{result_id}/revoke":{"post":{"tags":["Upstream data"],"summary":"Revoke","operationId":"revoke_v1_data_results__result_id__revoke_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","title":"Result Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/data/results/{result_id}/materialize":{"post":{"tags":["Upstream data"],"summary":"Modelling Copy","operationId":"modelling_copy_v1_data_results__result_id__materialize_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","title":"Result Id"}},{"name":"idempotency-key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaterializeRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/research-datasets":{"get":{"tags":["Research datasets"],"summary":"List Datasets","operationId":"list_datasets_v1_research_datasets_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":200,"default":"","title":"Q"}},{"name":"source","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":"","title":"Source"}},{"name":"availability","in":"query","required":false,"schema":{"type":"string","maxLength":30,"default":"","title":"Availability"}},{"name":"license","in":"query","required":false,"schema":{"type":"string","maxLength":1000,"default":"","title":"License"}},{"name":"tag","in":"query","required":false,"schema":{"type":"array","items":{"type":"string","maxLength":80},"maxItems":10,"default":[],"title":"Tag"}},{"name":"kind","in":"query","required":false,"schema":{"type":"string","maxLength":20,"description":"Generated data kind: tabular, time-series, panel, event-log, nlp, other.","default":"","title":"Kind"},"description":"Generated data kind: tabular, time-series, panel, event-log, nlp, other."},{"name":"rating","in":"query","required":false,"schema":{"type":"string","maxLength":40,"description":"`<task>:<n>`: at least n (1-5) generated stars for the task.","default":"","title":"Rating"},"description":"`<task>:<n>`: at least n (1-5) generated stars for the task."},{"name":"task","in":"query","required":false,"schema":{"anyOf":[{"enum":["classification","regression","forecasting","causal_discovery"],"type":"string"},{"type":"null"}],"description":"Curated task.","title":"Task"},"description":"Curated task."},{"name":"domain","in":"query","required":false,"schema":{"anyOf":[{"enum":["healthcare","biology","ecology-environment","earth-climate","agriculture-food","finance","economics","business-marketing","social-science","politics","education","energy","engineering-physics","chemistry-materials","computing","transportation","sports-games","real-estate","demographics","signals-images","synthetic-benchmark","other"],"type":"string"},{"type":"null"}],"description":"Curated domain.","title":"Domain"},"description":"Curated domain."},{"name":"collection","in":"query","required":false,"schema":{"anyOf":[{"enum":["classics","benchmarks","small-data","large-tables","healthcare","finance","biology","forecasting","causal-structure"],"type":"string"},{"type":"null"}],"description":"Curated collection slug.","title":"Collection"},"description":"Curated collection slug."},{"name":"min_rows","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Min Rows"}},{"name":"max_rows","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Max Rows"}},{"name":"min_skill","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"description":"Minimum measured curated skill.","title":"Min Skill"},"description":"Minimum measured curated skill."},{"name":"sort","in":"query","required":false,"schema":{"anyOf":[{"enum":["score","rows","name"],"type":"string"},{"type":"null"}],"description":"`score` (default), `rows` or `name`.","title":"Sort"},"description":"`score` (default), `rows` or `name`."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchDatasetPage"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/research-datasets/map":{"get":{"tags":["Research datasets"],"summary":"Research Map","description":"map-v1 coordinates of every visible curated record, by id (API-156).","operationId":"research_map_v1_research_datasets_map_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchMap"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/research-datasets/similar":{"post":{"tags":["Research datasets"],"summary":"Similar","description":"Curated records most like a workspace dataset, from its column names, types, rows and target only (API-157).","operationId":"similar_v1_research_datasets_similar_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchSimilarCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchSimilarPage"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/research-datasets/{dataset_id}":{"get":{"tags":["Research datasets"],"summary":"Detail","operationId":"detail_v1_research_datasets__dataset_id__get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchDatasetDetail"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/research-datasets/{dataset_id}/copy":{"post":{"tags":["Research datasets"],"summary":"Copy","description":"Open in Welt: copy a curated record into a new workspace dataset, charged like a download (API-157).","operationId":"copy_v1_research_datasets__dataset_id__copy_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ResearchCopyCreate"},{"type":"null"}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/research-datasets/{dataset_id}/content":{"get":{"tags":["Research datasets"],"summary":"Content","operationId":"content_v1_research_datasets__dataset_id__content_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}},{"name":"version","in":"query","required":true,"schema":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/dataset-imports":{"post":{"tags":["Agent data"],"summary":"Import Dataset","description":"Fetch a public https URL (internal addresses refused) and complete it as an upload.","operationId":"import_dataset_v1_dataset_imports_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetImport"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetResource"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/upload-links":{"post":{"tags":["Agent data"],"summary":"Create Upload Link","description":"A single-use URL that accepts one HTTP PUT of a CSV/Parquet file for one hour.","operationId":"create_upload_link_v1_upload_links_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadLinkCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadLink"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/upload-links/{secret}":{"put":{"tags":["Agent data"],"summary":"Put Upload Link","description":"No credential: the link is the capability. Any content type; the raw body is the file.","operationId":"put_upload_link_v1_upload_links__secret__put","parameters":[{"name":"secret","in":"path","required":true,"schema":{"type":"string","title":"Secret"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}},"requestBody":{"required":true,"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"/v1/jobs/{job_id}/result-links":{"post":{"tags":["Agent data"],"summary":"Create Result Link","description":"A one-hour URL returning this job's ``GET /v1/jobs/{id}/result`` body (read scope).","operationId":"create_result_link_v1_jobs__job_id__result_links_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultLink"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/result-links/{secret}":{"get":{"tags":["Agent data"],"summary":"Use Result Link","description":"No credential: returns the job result as an attachment until the link expires.","operationId":"use_result_link_v1_result_links__secret__get","parameters":[{"name":"secret","in":"path","required":true,"schema":{"type":"string","title":"Secret"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/FitResult"},{"$ref":"#/components/schemas/PredictionResult"},{"$ref":"#/components/schemas/CausalResult"},{"$ref":"#/components/schemas/BatchResult"},{"oneOf":[{"$ref":"#/components/schemas/TabularRunResult"},{"$ref":"#/components/schemas/CausalRunResult"},{"$ref":"#/components/schemas/ForecastResult"}],"discriminator":{"propertyName":"task","mapping":{"classification":"#/components/schemas/TabularRunResult","regression":"#/components/schemas/TabularRunResult","causal_discovery":"#/components/schemas/CausalRunResult","temporal_causal_discovery":"#/components/schemas/CausalRunResult","univariate_forecasting":"#/components/schemas/ForecastResult"}}},{"$ref":"#/components/schemas/ForecastingResult"}],"title":"Response Use Result Link V1 Result Links  Secret  Get"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/evaluations/preview":{"post":{"tags":["Evaluations"],"summary":"Prepare","description":"Validate and price a visible setup without creating or charging an evaluation.","operationId":"prepare_v1_evaluations_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationPreviewCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationPreview"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/evaluations":{"post":{"tags":["Evaluations"],"summary":"Create","description":"Cross-validate one or more models on a dataset (DEC-076). Empty ``models``: Welt chooses.","operationId":"create_v1_evaluations_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationCreate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Service Unavailable"}}},"get":{"tags":["Evaluations"],"summary":"Listing","operationId":"listing_v1_evaluations_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList_EvaluationResource_"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/evaluations/{evaluation_id}":{"get":{"tags":["Evaluations"],"summary":"Detail","operationId":"detail_v1_evaluations__evaluation_id__get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}},"delete":{"tags":["Evaluations"],"summary":"Remove","operationId":"remove_v1_evaluations__evaluation_id__delete","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","title":"Evaluation Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/evaluations/{evaluation_id}/folds":{"get":{"tags":["Evaluations"],"summary":"Folds","operationId":"folds_v1_evaluations__evaluation_id__folds_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationFolds"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/evaluations/{evaluation_id}/predictions":{"get":{"tags":["Evaluations"],"summary":"Predictions","description":"Out-of-fold predictions for every evaluated row; retained until explicitly deleted.","operationId":"predictions_v1_evaluations__evaluation_id__predictions_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationPredictions"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/evaluations/{evaluation_id}/report":{"get":{"tags":["Evaluations"],"summary":"Report","description":"The report as one self-contained HTML document, for workspace members.","operationId":"report_v1_evaluations__evaluation_id__report_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/evaluations/{evaluation_id}/cancel":{"post":{"tags":["Evaluations"],"summary":"Cancel","operationId":"cancel_v1_evaluations__evaluation_id__cancel_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluationResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/evaluations/{evaluation_id}/report-links":{"post":{"tags":["Evaluations"],"summary":"Create Link","description":"A link anyone holding it can open to read the report, until revoked, with optional explicit expiry.","operationId":"create_link_v1_evaluations__evaluation_id__report_links_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","title":"Evaluation Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ReportLinkCreate"},{"type":"null"}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportLink"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}},"get":{"tags":["Evaluations"],"summary":"List Links","operationId":"list_links_v1_evaluations__evaluation_id__report_links_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","title":"Evaluation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList_ReportLink_"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/evaluations/{evaluation_id}/report-links/{link_id}":{"delete":{"tags":["Evaluations"],"summary":"Revoke Link","operationId":"revoke_link_v1_evaluations__evaluation_id__report_links__link_id__delete","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","title":"Evaluation Id"}},{"name":"link_id","in":"path","required":true,"schema":{"type":"string","title":"Link Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/tryouts/examples/{dataset_id}/predict":{"post":{"tags":["tryouts"],"summary":"Example Predict","operationId":"example_predict_v1_tryouts_examples__dataset_id__predict_post","parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExamplePredict"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExamplePrediction"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExamplePrediction"}}},"description":"Accepted"}}}},"/v1/tryouts/examples/{dataset_id}/predictions/{job_id}":{"get":{"tags":["tryouts"],"summary":"Example Prediction","operationId":"example_prediction_v1_tryouts_examples__dataset_id__predictions__job_id__get","parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}},{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExamplePrediction"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/tryouts/quota":{"get":{"tags":["tryouts"],"summary":"Quota","operationId":"quota_v1_tryouts_quota_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TryoutQuota"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/tryouts":{"get":{"tags":["tryouts"],"summary":"Listing","operationId":"listing_v1_tryouts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}},"post":{"tags":["tryouts"],"summary":"Create","operationId":"create_v1_tryouts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TryoutCreate"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TryoutResource"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/tryouts/{tryout_id}":{"get":{"tags":["tryouts"],"summary":"Read","operationId":"read_v1_tryouts__tryout_id__get","parameters":[{"name":"tryout_id","in":"path","required":true,"schema":{"type":"string","title":"Tryout Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TryoutResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}},"delete":{"tags":["tryouts"],"summary":"Remove","operationId":"remove_v1_tryouts__tryout_id__delete","parameters":[{"name":"tryout_id","in":"path","required":true,"schema":{"type":"string","title":"Tryout Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/backtests/preview":{"post":{"tags":["Backtests"],"summary":"Prepare","operationId":"prepare_v1_backtests_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacktestPreviewCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacktestPreview"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/backtests":{"post":{"tags":["Backtests"],"summary":"Create","description":"Evaluate explicit forecasting models at chronological walk-forward origins.","operationId":"create_v1_backtests_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacktestCreate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacktestResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}},"get":{"tags":["Backtests"],"summary":"Listing","operationId":"listing_v1_backtests_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList_BacktestResource_"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/backtests/{backtest_id}":{"get":{"tags":["Backtests"],"summary":"Detail","operationId":"detail_v1_backtests__backtest_id__get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"backtest_id","in":"path","required":true,"schema":{"type":"string","title":"Backtest Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacktestResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}},"delete":{"tags":["Backtests"],"summary":"Delete","operationId":"delete_v1_backtests__backtest_id__delete","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"backtest_id","in":"path","required":true,"schema":{"type":"string","title":"Backtest Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/backtests/{backtest_id}/predictions":{"get":{"tags":["Backtests"],"summary":"Predictions","operationId":"predictions_v1_backtests__backtest_id__predictions_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"backtest_id","in":"path","required":true,"schema":{"type":"string","title":"Backtest Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacktestPredictions"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/backtests/{backtest_id}/metrics":{"get":{"tags":["Backtests"],"summary":"Metrics","operationId":"metrics_v1_backtests__backtest_id__metrics_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"backtest_id","in":"path","required":true,"schema":{"type":"string","title":"Backtest Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacktestMetrics"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/backtests/{backtest_id}/benchmarks":{"get":{"tags":["Backtests"],"summary":"Benchmarks","description":"Compute/reconnect the optional CPU suite after native jobs finish; never uses the GPU queue.","operationId":"benchmarks_v1_backtests__backtest_id__benchmarks_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"backtest_id","in":"path","required":true,"schema":{"type":"string","title":"Backtest Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacktestBenchmarks"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/backtests/{backtest_id}/report":{"get":{"tags":["Backtests"],"summary":"Report","operationId":"report_v1_backtests__backtest_id__report_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"backtest_id","in":"path","required":true,"schema":{"type":"string","title":"Backtest Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/backtests/{backtest_id}/report-links":{"post":{"tags":["Backtests"],"summary":"Create Link","description":"Share this report and target history until revoked, or for an explicitly chosen duration; never starts computation.","operationId":"create_link_v1_backtests__backtest_id__report_links_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"backtest_id","in":"path","required":true,"schema":{"type":"string","title":"Backtest Id"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ReportLinkCreate"},{"type":"null"}],"title":"Payload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportLink"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}},"get":{"tags":["Backtests"],"summary":"List Links","operationId":"list_links_v1_backtests__backtest_id__report_links_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"backtest_id","in":"path","required":true,"schema":{"type":"string","title":"Backtest Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList_ReportLink_"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/backtests/{backtest_id}/report-links/{link_id}":{"delete":{"tags":["Backtests"],"summary":"Revoke Link","operationId":"revoke_link_v1_backtests__backtest_id__report_links__link_id__delete","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"backtest_id","in":"path","required":true,"schema":{"type":"string","title":"Backtest Id"}},{"name":"link_id","in":"path","required":true,"schema":{"type":"string","title":"Link Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/backtests/{backtest_id}/cancel":{"post":{"tags":["Backtests"],"summary":"Cancel","operationId":"cancel_v1_backtests__backtest_id__cancel_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"backtest_id","in":"path","required":true,"schema":{"type":"string","title":"Backtest Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BacktestResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/healthz":{"get":{"summary":"Health","operationId":"health_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/readyz":{"get":{"summary":"Ready","operationId":"ready_readyz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}},"/v1/status":{"get":{"summary":"Service Status","operationId":"service_status_v1_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceStatus"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/models":{"get":{"summary":"Models","description":"The model catalogue. Credentials are optional: anonymous and customer callers receive only entries with status `available`; planned entries are listed to internal callers only.","operationId":"models_v1_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList_ModelResource_"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]},{}]}},"/v1/models/{model_id}":{"get":{"summary":"Testing Model","operationId":"testing_model_v1_models__model_id__get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"model_id","in":"path","required":true,"schema":{"type":"string","title":"Model Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/model-runs":{"post":{"summary":"Model Run","operationId":"model_run_v1_model_runs_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"title":"Idempotency-Key"}},{"name":"X-Welt-Model-Version","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":128},{"type":"null"}],"title":"X-Welt-Model-Version"}},{"name":"X-Welt-Configuration-Version","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":128},{"type":"null"}],"title":"X-Welt-Configuration-Version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TabularRun"},{"$ref":"#/components/schemas/CausalRun"},{"$ref":"#/components/schemas/ForecastRequest"}],"discriminator":{"propertyName":"task","mapping":{"classification":"#/components/schemas/TabularRun","regression":"#/components/schemas/TabularRun","causal_discovery":"#/components/schemas/CausalRun","temporal_causal_discovery":"#/components/schemas/CausalRun","univariate_forecasting":"#/components/schemas/ForecastRequest"}},"title":"Payload"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Service Unavailable"}}}},"/v1/model-runs/{job_id}":{"delete":{"summary":"Delete Model Run","operationId":"delete_model_run_v1_model_runs__job_id__delete","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/forecasts":{"post":{"summary":"Forecast","description":"DEC-085: forecast one or more series (targets, past/future/categorical covariates)\nfrom an owned dataset or an inline table. Returns a job; read its result from\n``/v1/jobs/{id}/result``.","operationId":"forecast_v1_forecasts_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"title":"Idempotency-Key"}},{"name":"X-Welt-Model-Version","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":128},{"type":"null"}],"title":"X-Welt-Model-Version"}},{"name":"X-Welt-Configuration-Version","in":"header","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":128},{"type":"null"}],"title":"X-Welt-Configuration-Version"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForecastCreate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Service Unavailable"}}}},"/v1/forecasts/{job_id}":{"delete":{"summary":"Delete Forecast","description":"Delete a terminal forecast's stored input and result; its job metadata and usage stay.","operationId":"delete_forecast_v1_forecasts__job_id__delete","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/workspace":{"get":{"summary":"Workspace","description":"Workspace identity and retained/reserved result counts, without tenant quotas.","operationId":"workspace_v1_workspace_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/datasets":{"get":{"summary":"Datasets","operationId":"datasets_v1_datasets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList_DatasetResource_"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]},"post":{"summary":"Upload","operationId":"upload_v1_datasets_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetCreate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetResource"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/datasets/{dataset_id}":{"delete":{"summary":"Delete Dataset","operationId":"delete_dataset_v1_datasets__dataset_id__delete","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}},"get":{"summary":"Dataset","operationId":"dataset_v1_datasets__dataset_id__get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/causal-results/{result_id}":{"delete":{"summary":"Delete Causal Result","operationId":"delete_causal_result_v1_causal_results__result_id__delete","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"result_id","in":"path","required":true,"schema":{"type":"string","title":"Result Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/datasets/{dataset_id}/preview":{"get":{"summary":"Dataset Preview","description":"The first ``limit`` rows of an owned dataset's stored table, for console inspection.","operationId":"dataset_preview_v1_datasets__dataset_id__preview_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"dataset_id","in":"path","required":true,"schema":{"type":"string","title":"Dataset Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetPreview"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/uploads":{"post":{"summary":"Create Upload","operationId":"create_upload_v1_uploads_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadResource"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/uploads/{upload_id}":{"get":{"summary":"Inspect Upload","operationId":"inspect_upload_v1_uploads__upload_id__get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"upload_id","in":"path","required":true,"schema":{"type":"string","title":"Upload Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/uploads/{upload_id}/chunks/{index}":{"put":{"summary":"Upload Chunk","operationId":"upload_chunk_v1_uploads__upload_id__chunks__index__put","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"upload_id","in":"path","required":true,"schema":{"type":"string","title":"Upload Id"}},{"name":"index","in":"path","required":true,"schema":{"type":"integer","title":"Index"}},{"name":"x-chunk-sha256","in":"header","required":true,"schema":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"X-Chunk-Sha256"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}},"requestBody":{"required":true,"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}}}},"/v1/uploads/{upload_id}/complete":{"post":{"summary":"Complete Upload","operationId":"complete_upload_v1_uploads__upload_id__complete_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"upload_id","in":"path","required":true,"schema":{"type":"string","title":"Upload Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasetResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/predictors":{"get":{"summary":"Predictors","operationId":"predictors_v1_predictors_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList_PredictorResource_"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/predictors/{predictor_id}":{"get":{"summary":"Predictor","operationId":"predictor_v1_predictors__predictor_id__get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"predictor_id","in":"path","required":true,"schema":{"type":"string","title":"Predictor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictorResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/fits/preview":{"post":{"summary":"Fit Preview","operationId":"fit_preview_v1_fits_preview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FitPreviewCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FitPreview"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/fits":{"post":{"summary":"Fit","operationId":"fit_v1_fits_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"X-Welt-Preview","in":"header","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"X-Welt-Preview"}},{"name":"X-Welt-Max-Credits","in":"header","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"X-Welt-Max-Credits"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FitCreate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Service Unavailable"}}}},"/v1/decisions":{"post":{"summary":"Decision","operationId":"decision_v1_decisions_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionCreate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/decisions/{job_id}":{"delete":{"summary":"Delete Decision","operationId":"delete_decision_v1_decisions__job_id__delete","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/discoveries":{"post":{"summary":"Discovery","operationId":"discovery_v1_discoveries_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiscoveryCreate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Service Unavailable"}}}},"/v1/batch-predictions":{"post":{"summary":"Batch Prediction","operationId":"batch_prediction_v1_batch_predictions_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":16,"maxLength":128,"title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchCreate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Service Unavailable"}}}},"/v1/jobs/{job_id}/result/payload":{"get":{"summary":"Batch Payload","operationId":"batch_payload_v1_jobs__job_id__result_payload_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"result_reference","in":"query","required":true,"schema":{"type":"string","title":"Result Reference"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchPayload"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/jobs":{"get":{"summary":"Jobs","operationId":"jobs_v1_jobs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList_JobResource_"}}}},"422":{"description":"Unprocessable Entity","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"default":{"description":"Default Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}]}},"/v1/jobs/{job_id}":{"get":{"summary":"Job","operationId":"job_v1_jobs__job_id__get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/jobs/{job_id}/result":{"get":{"summary":"Job Result","operationId":"job_result_v1_jobs__job_id__result_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/FitResult"},{"$ref":"#/components/schemas/PredictionResult"},{"$ref":"#/components/schemas/CausalResult"},{"$ref":"#/components/schemas/BatchResult"},{"oneOf":[{"$ref":"#/components/schemas/TabularRunResult"},{"$ref":"#/components/schemas/CausalRunResult"},{"$ref":"#/components/schemas/ForecastResult"}],"discriminator":{"propertyName":"task","mapping":{"classification":"#/components/schemas/TabularRunResult","regression":"#/components/schemas/TabularRunResult","causal_discovery":"#/components/schemas/CausalRunResult","temporal_causal_discovery":"#/components/schemas/CausalRunResult","univariate_forecasting":"#/components/schemas/ForecastResult"}}},{"$ref":"#/components/schemas/ForecastingResult"},{"$ref":"#/components/schemas/DecisionResult"}],"title":"Response Job Result V1 Jobs  Job Id  Result Get"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/jobs/{job_id}/result/scores":{"get":{"summary":"Causal Scores","operationId":"causal_scores_v1_jobs__job_id__result_scores_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CausalScores"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/jobs/{job_id}/cancel":{"post":{"summary":"Cancel","operationId":"cancel_v1_jobs__job_id__cancel_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResource"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}},"/v1/predictors/{predictor_id}/predict":{"post":{"summary":"Predict","operationId":"predict_v1_predictors__predictor_id__predict_post","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"predictor_id","in":"path","required":true,"schema":{"type":"string","title":"Predictor Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionResult"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Service Unavailable"}}}},"/v1/usage":{"get":{"summary":"Usage","description":"Usage records with the operation's net credits from the ledger (API-084); records\nwhose operation has no ledger row carry null, which is unpriced, not free.\n``operation_id`` narrows the list to one operation's records, within the workspace.","operationId":"usage_v1_usage_get","security":[{"HTTPBearer":[]},{"APIKeyCookie":[]}],"parameters":[{"name":"operation_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}],"description":"Only the usage records of this operation (API-192).","title":"Operation Id"},"description":"Only the usage records of this operation (API-192)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResourceList_UsageResource_"}}}},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Unprocessable Entity"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}},"description":"Default Response"}}}}},"components":{"schemas":{"AccountResource":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"verified":{"type":"boolean","title":"Verified"},"sign_in_methods":{"items":{"type":"string","enum":["password","managed-identity"]},"type":"array","title":"Sign In Methods"},"managed_issuer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Managed Issuer"}},"type":"object","required":["id","email","name","verified","sign_in_methods","managed_issuer"],"title":"AccountResource","description":"Read-only identity summary: how the account signs in, never a secret."},"AdmittedShape":{"properties":{"rows":{"type":"integer","title":"Rows"},"columns":{"type":"integer","title":"Columns"}},"type":"object","required":["rows","columns"],"title":"AdmittedShape","description":"One measured workload point (DEC-077): an input is admitted when rows <= ``rows``\nand feature columns (causal: variables) <= ``columns`` for at least one listed shape."},"AuthConfig":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"mode":{"type":"string","enum":["local","identity-platform"],"title":"Mode"},"email_actions":{"type":"string","enum":["development-outbox","managed"],"title":"Email Actions"},"oauth_providers":{"items":{"type":"string","enum":["google.com","github.com"]},"type":"array","title":"Oauth Providers"},"signin_domains":{"items":{"type":"string"},"type":"array","title":"Signin Domains"}},"type":"object","required":["enabled","mode","email_actions"],"title":"AuthConfig"},"AuthStatus":{"properties":{"status":{"type":"string","enum":["verification_required","verified","accepted","password_reset"],"title":"Status"}},"type":"object","required":["status"],"title":"AuthStatus"},"BacktestBenchmarks":{"properties":{"backtest_id":{"type":"string","title":"Backtest Id"},"suite_version":{"type":"string","title":"Suite Version","default":"fast-v1"},"split_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Split Sha256"},"index_kind":{"type":"string","enum":["position","datetime"],"title":"Index Kind"},"quantile_levels":{"items":{"type":"number"},"type":"array","title":"Quantile Levels"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"},"final":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Final"},"metrics":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Metrics"},"leaderboard":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Leaderboard"},"details":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Details"},"units":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Units"}},"type":"object","required":["backtest_id","index_kind","quantile_levels","metadata","items","final","metrics","leaderboard","details","units"],"title":"BacktestBenchmarks"},"BacktestColumns":{"properties":{"time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"targets":{"items":{"type":"string"},"type":"array","title":"Targets"},"past_covariates":{"items":{"type":"string"},"type":"array","title":"Past Covariates"},"future_covariates":{"items":{"type":"string"},"type":"array","title":"Future Covariates"},"categorical_covariates":{"items":{"type":"string"},"type":"array","title":"Categorical Covariates"}},"type":"object","required":["time","id","targets","past_covariates","future_covariates","categorical_covariates"],"title":"BacktestColumns","description":"Public role metadata, without positional transport carriers or any cells."},"BacktestCreate":{"properties":{"history":{"anyOf":[{"$ref":"#/components/schemas/DatasetSource"},{"$ref":"#/components/schemas/TableSource"}],"title":"History"},"models":{"items":{"type":"string"},"type":"array","maxItems":8,"minItems":1,"title":"Models"},"time_column":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time Column"},"id_column":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Column"},"targets":{"items":{"type":"string"},"type":"array","maxItems":256,"minItems":1,"title":"Targets"},"past_covariates":{"items":{"type":"string"},"type":"array","maxItems":256,"title":"Past Covariates"},"future_covariates":{"items":{"type":"string"},"type":"array","maxItems":256,"title":"Future Covariates"},"categorical_covariates":{"items":{"type":"string"},"type":"array","maxItems":256,"title":"Categorical Covariates"},"frequency":{"anyOf":[{"$ref":"#/components/schemas/ForecastingFrequency"},{"type":"null"}]},"horizon":{"type":"integer","maximum":1024.0,"minimum":1.0,"title":"Horizon"},"folds":{"type":"integer","maximum":10.0,"minimum":1.0,"title":"Folds","default":5},"step":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":1.0},{"type":"null"}],"title":"Step"},"context_length":{"anyOf":[{"type":"integer","maximum":8192.0,"minimum":1.0},{"type":"null"}],"title":"Context Length"},"seasonal_period":{"type":"integer","maximum":100000.0,"minimum":1.0,"title":"Seasonal Period","default":1},"quantile_levels":{"items":{"type":"number"},"type":"array","title":"Quantile Levels"},"cross_learning":{"type":"boolean","title":"Cross Learning","default":false},"final_horizon":{"anyOf":[{"type":"integer","maximum":1024.0,"minimum":1.0},{"type":"null"}],"title":"Final Horizon"},"future":{"anyOf":[{"$ref":"#/components/schemas/DatasetSource"},{"$ref":"#/components/schemas/TableSource"},{"type":"null"}],"title":"Future"},"primary_metric":{"type":"string","enum":["mae","rmse","mase","pinball"],"title":"Primary Metric","default":"mae"},"max_credits":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Max Credits"},"benchmark_suite":{"anyOf":[{"type":"string","const":"fast-v1"},{"type":"null"}],"title":"Benchmark Suite","description":"Opt-in CPU references sharing a 20-second wall budget; native results and charges are unchanged."},"expected_versions":{"anyOf":[{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"},{"type":"null"}],"title":"Expected Versions"},"preview_sha256":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Preview Sha256"}},"additionalProperties":false,"type":"object","required":["history","models","targets","horizon"],"title":"BacktestCreate"},"BacktestMetrics":{"properties":{"backtest_id":{"type":"string","title":"Backtest Id"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"}},"type":"object","required":["backtest_id","items"],"title":"BacktestMetrics"},"BacktestPredictions":{"properties":{"backtest_id":{"type":"string","title":"Backtest Id"},"index_kind":{"type":"string","enum":["position","datetime"],"title":"Index Kind"},"quantile_levels":{"items":{"type":"number"},"type":"array","title":"Quantile Levels"},"items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Items"},"final":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Final"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["backtest_id","index_kind","quantile_levels","items","final"],"title":"BacktestPredictions"},"BacktestPreview":{"properties":{"ready":{"type":"boolean","title":"Ready"},"request":{"anyOf":[{"$ref":"#/components/schemas/BacktestCreate"},{"type":"null"}]},"estimated_credits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Credits"},"forecast_jobs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Forecast Jobs"},"training_rows":{"items":{"type":"integer"},"type":"array","title":"Training Rows"},"problems":{"items":{"$ref":"#/components/schemas/PreviewProblem"},"type":"array","title":"Problems"}},"type":"object","required":["ready"],"title":"BacktestPreview"},"BacktestPreviewCreate":{"properties":{"request":{"$ref":"#/components/schemas/BacktestCreate"},"quick":{"type":"boolean","title":"Quick","default":true}},"type":"object","required":["request"],"title":"BacktestPreviewCreate"},"BacktestResource":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","enum":["queued","running","succeeded","partially_completed","failed","cancelled"],"title":"Status"},"index_kind":{"type":"string","enum":["position","datetime"],"title":"Index Kind"},"frequency":{"anyOf":[{"$ref":"#/components/schemas/ForecastingFrequency"},{"type":"null"}]},"calendar_anchor":{"anyOf":[{"type":"integer"},{"type":"string","const":"end"},{"type":"null"}],"title":"Calendar Anchor"},"quantile_levels":{"items":{"type":"number"},"type":"array","title":"Quantile Levels"},"targets":{"items":{"type":"string"},"type":"array","title":"Targets"},"series_ids":{"items":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"array","title":"Series Ids"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"future_dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Future Dataset Id"},"columns":{"anyOf":[{"$ref":"#/components/schemas/BacktestColumns"},{"type":"null"}],"description":"Original declared roles; null for older records that did not retain public role metadata."},"cross_learning":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cross Learning","description":"Requested cross-learning policy; null when not recorded by an older version."},"models":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Models"},"folds":{"type":"integer","title":"Folds"},"horizon":{"type":"integer","title":"Horizon"},"step":{"type":"integer","title":"Step"},"context_length":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Context Length"},"seasonal_period":{"type":"integer","title":"Seasonal Period"},"final_horizon":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Final Horizon"},"primary_metric":{"type":"string","title":"Primary Metric"},"protocol_version":{"type":"string","title":"Protocol Version"},"metrics_version":{"type":"string","title":"Metrics Version"},"report_version":{"type":"string","title":"Report Version"},"split_sha256":{"type":"string","title":"Split Sha256"},"estimated_credits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Credits"},"credits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Credits"},"completed_jobs":{"type":"integer","title":"Completed Jobs"},"total_jobs":{"type":"integer","title":"Total Jobs"},"summary":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Summary"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"},"predictions_expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Predictions Expires At"},"benchmark_suite":{"anyOf":[{"type":"string","const":"fast-v1"},{"type":"null"}],"title":"Benchmark Suite"},"benchmarks":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Benchmarks"}},"type":"object","required":["id","status","index_kind","frequency","calendar_anchor","quantile_levels","targets","series_ids","dataset_id","models","folds","horizon","step","context_length","seasonal_period","final_horizon","primary_metric","protocol_version","metrics_version","report_version","split_sha256","estimated_credits","completed_jobs","total_jobs","created_at","updated_at"],"title":"BacktestResource"},"BatchCreate":{"properties":{"predictor_id":{"type":"string","maxLength":128,"minLength":1,"title":"Predictor Id"},"dataset_id":{"type":"string","maxLength":128,"minLength":1,"title":"Dataset Id"},"probabilities":{"type":"boolean","title":"Probabilities","default":false}},"additionalProperties":false,"type":"object","required":["predictor_id","dataset_id"],"title":"BatchCreate"},"BatchPayload":{"properties":{"job_id":{"type":"string","title":"Job Id"},"result_reference":{"type":"string","title":"Result Reference"},"row_count":{"type":"integer","title":"Row Count"},"model_version":{"type":"string","title":"Model Version"},"predictor_id":{"type":"string","title":"Predictor Id"},"operation_id":{"type":"string","title":"Operation Id"},"batch_protocol":{"type":"string","title":"Batch Protocol"},"predictions":{"items":{},"type":"array","title":"Predictions"},"probabilities":{"anyOf":[{"items":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}]},"type":"array"},{"type":"null"}],"title":"Probabilities"},"classes":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Classes"},"errors":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Errors"}},"additionalProperties":false,"type":"object","required":["job_id","result_reference","row_count","model_version","predictor_id","operation_id","batch_protocol","predictions","probabilities","classes","errors"],"title":"BatchPayload"},"BatchResult":{"properties":{"job_id":{"type":"string","title":"Job Id"},"row_count":{"type":"integer","title":"Row Count"},"successful_ranges":{"items":{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2},"type":"array","title":"Successful Ranges"},"failed_ranges":{"items":{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2},"type":"array","title":"Failed Ranges"},"result_reference":{"type":"string","title":"Result Reference"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"model_version":{"type":"string","title":"Model Version"}},"additionalProperties":false,"type":"object","required":["job_id","row_count","successful_ranges","failed_ranges","result_reference","model_version"],"title":"BatchResult"},"BillingSummary":{"properties":{"workspace_id":{"type":"string","title":"Workspace Id"},"status":{"type":"string","enum":["active","suspended","past_due"],"title":"Status","description":"past_due once a failed plan invoice is older than grace_days and no later invoice was paid."},"balance_credits":{"type":"integer","title":"Balance Credits"},"balance_usd_cents":{"type":"integer","title":"Balance Usd Cents"},"pending_credits":{"type":"integer","title":"Pending Credits","description":"Credits reserved by queued or running work that has not settled yet."},"credit_unit_usd_cents":{"type":"integer","title":"Credit Unit Usd Cents"},"currency":{"type":"string","title":"Currency"},"stripe_configured":{"type":"boolean","title":"Stripe Configured","description":"False without a Stripe key: balance, ledger, pending and spend controls still work; checkout and portal answer 503."},"customer_configured":{"type":"boolean","title":"Customer Configured"},"billing_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Email"},"tax_applied":{"type":"boolean","title":"Tax Applied","description":"False until Stripe Tax is enabled (DEC-050 decision 6)."},"rate_card_version":{"type":"string","title":"Rate Card Version"},"enforcement":{"type":"boolean","title":"Enforcement","description":"Whether submissions are refused for insufficient credits or a reached spend cap."},"month":{"type":"string","title":"Month","description":"Calendar month (UTC, YYYY-MM) the consumption and cap figures refer to."},"month_consumed_credits":{"type":"integer","title":"Month Consumed Credits","description":"Net credits consumed this month, reservations included."},"spend_cap_credits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Spend Cap Credits","description":"Maximum net consumption per calendar month; null means no cap."},"alert_threshold_credits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Alert Threshold Credits","description":"Monthly consumption at which one spend alert is recorded; null disables it."},"plan":{"anyOf":[{"type":"string","const":"team"},{"type":"null"}],"title":"Plan","description":"The subscribed plan while its subscription is live; null means pay as you go."},"subscription_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subscription Status","description":"Stripe's subscription status (active, trialing, past_due, unpaid, canceled, ...) as last reported by webhook."},"current_period_end":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Period End","description":"End of the current billing period (ISO 8601, UTC), from the subscription."},"past_due_since":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Past Due Since","description":"When the latest unpaid plan invoice failed (ISO 8601); cleared by the next paid invoice."},"grace_days":{"type":"integer","title":"Grace Days","description":"Days after past_due_since before the workspace reads past_due and, with enforcement on, new submissions are refused."},"packs":{"items":{"$ref":"#/components/schemas/CreditPack"},"type":"array","title":"Packs"},"plans":{"items":{"$ref":"#/components/schemas/Plan"},"type":"array","title":"Plans"},"ledger":{"items":{"$ref":"#/components/schemas/LedgerEntry"},"type":"array","title":"Ledger"}},"type":"object","required":["workspace_id","status","balance_credits","balance_usd_cents","pending_credits","credit_unit_usd_cents","currency","stripe_configured","customer_configured","billing_email","tax_applied","rate_card_version","enforcement","month","month_consumed_credits","spend_cap_credits","alert_threshold_credits","plan","subscription_status","current_period_end","past_due_since","grace_days","packs","plans","ledger"],"title":"BillingSummary"},"CausalEdge":{"properties":{"u":{"type":"string","title":"U"},"v":{"type":"string","title":"V"},"u_mark":{"type":"string","enum":["tail","arrow"],"title":"U Mark"},"v_mark":{"type":"string","enum":["tail","arrow"],"title":"V Mark"}},"additionalProperties":false,"type":"object","required":["u","v","u_mark","v_mark"],"title":"CausalEdge"},"CausalResult":{"properties":{"id":{"type":"string","title":"Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"dataset_id":{"type":"string","title":"Dataset Id"},"model_version":{"type":"string","title":"Model Version"},"configuration_version":{"type":"string","title":"Configuration Version"},"variables":{"items":{"type":"string"},"type":"array","title":"Variables"},"native_graph_type":{"type":"string","enum":["dag","directed"],"title":"Native Graph Type"},"edge_marks":{"items":{"$ref":"#/components/schemas/CausalEdge"},"type":"array","title":"Edge Marks"},"score_semantics":{"type":"string","const":"native_directed_edge_probability","title":"Score Semantics"},"score_reference":{"type":"string","title":"Score Reference"},"decoder":{"additionalProperties":true,"type":"object","title":"Decoder"},"assumptions":{"items":{"type":"string"},"type":"array","title":"Assumptions"},"constraints_applied":{"$ref":"#/components/schemas/DomainConstraints"},"diagnostics":{"additionalProperties":true,"type":"object","title":"Diagnostics"},"stage":{"type":"string","enum":["general","research_preview"],"title":"Stage","description":"Release stage of the model that produced this result (DEC-095). research_preview: no stability promise; read the notice."},"notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notice","description":"Disclosure to show with this result, for research-preview models (for example that directed edges may be reversed)."}},"additionalProperties":false,"type":"object","required":["id","workspace_id","dataset_id","model_version","configuration_version","variables","native_graph_type","edge_marks","score_semantics","score_reference","decoder","assumptions","constraints_applied","diagnostics"],"title":"CausalResult"},"CausalRun":{"properties":{"task":{"type":"string","enum":["causal_discovery","temporal_causal_discovery"],"title":"Task"},"model_id":{"type":"string","maxLength":128,"minLength":1,"title":"Model Id"},"table":{"$ref":"#/components/schemas/Table"},"seed":{"type":"integer","maximum":4294967295.0,"minimum":0.0,"title":"Seed","default":42},"column_kinds":{"anyOf":[{"items":{"type":"string","enum":["continuous","count","binary","categorical"]},"type":"array"},{"type":"null"}],"title":"Column Kinds"}},"additionalProperties":false,"type":"object","required":["task","model_id","table"],"title":"CausalRun"},"CausalRunResult":{"properties":{"task":{"type":"string","enum":["causal_discovery","temporal_causal_discovery"],"title":"Task"},"model_id":{"type":"string","title":"Model Id"},"model_version":{"type":"string","title":"Model Version"},"configuration":{"type":"string","title":"Configuration"},"variables":{"items":{"type":"string"},"type":"array","title":"Variables"},"axes":{"items":{"type":"string"},"type":"array","title":"Axes"},"graph_type":{"type":"string","enum":["directed_and_latent_confounder_scores","pair_state_directed_scores","lagged_directed_scores"],"title":"Graph Type"},"directed_scores":{"anyOf":[{"items":{"items":{"type":"number"},"type":"array"},"type":"array"},{"type":"null"}],"title":"Directed Scores"},"confounder_scores":{"anyOf":[{"items":{"items":{"type":"number"},"type":"array"},"type":"array"},{"type":"null"}],"title":"Confounder Scores"},"lagged_scores":{"anyOf":[{"items":{"items":{"items":{"type":"number"},"type":"array"},"type":"array"},"type":"array"},{"type":"null"}],"title":"Lagged Scores"},"lags":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Lags"},"self_lags":{"anyOf":[{"type":"string","const":"preserved"},{"type":"null"}],"title":"Self Lags"},"column_kinds":{"anyOf":[{"items":{"type":"string","enum":["continuous","count","binary","categorical"]},"type":"array"},{"type":"null"}],"title":"Column Kinds"},"joint_graph_posterior":{"type":"boolean","const":false,"title":"Joint Graph Posterior","default":false},"dag_guaranteed":{"type":"boolean","const":false,"title":"Dag Guaranteed","default":false}},"additionalProperties":false,"type":"object","required":["task","model_id","model_version","configuration","variables","axes","graph_type"],"title":"CausalRunResult"},"CausalScores":{"properties":{"score_reference":{"type":"string","title":"Score Reference"},"result_id":{"type":"string","title":"Result Id"},"variables":{"items":{"type":"string"},"type":"array","title":"Variables"},"score_axes":{"type":"string","const":"source_row_target_column","title":"Score Axes"},"score_semantics":{"type":"string","const":"native_directed_edge_probability","title":"Score Semantics"},"values":{"items":{"items":{"type":"number"},"type":"array"},"type":"array","title":"Values"}},"additionalProperties":false,"type":"object","required":["score_reference","result_id","variables","score_axes","score_semantics","values"],"title":"CausalScores"},"CelebrationReceipt":{"properties":{"celebrate":{"type":"boolean","title":"Celebrate"},"status":{"$ref":"#/components/schemas/OnboardingStatus"}},"type":"object","required":["celebrate","status"],"title":"CelebrationReceipt"},"CelebrationRequest":{"properties":{},"additionalProperties":false,"type":"object","title":"CelebrationRequest"},"CensusResult":{"properties":{"snapshot":{"$ref":"#/components/schemas/DataSnapshot"},"source_url":{"type":"string","title":"Source Url","default":"https://api.census.gov/data/2020/dec/pl.html"},"attribution":{"type":"string","title":"Attribution","default":"U.S. Census Bureau: 2020 Census Redistricting Data (PL 94-171), P1 total population."},"terms_url":{"type":"string","title":"Terms Url","default":"https://www.census.gov/data/developers/about/terms-of-service.html"},"notice":{"type":"string","title":"Notice","default":"This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau."},"usage_note":{"type":"string","title":"Usage Note","default":"Statistical analysis only; do not identify or link records to identify respondents. Preserve attribution and the Census non-endorsement notice."},"reference_vintage":{"type":"string","title":"Reference Vintage","default":"2020"},"variable":{"type":"string","title":"Variable","default":"P1_001N"},"metadata_sha256":{"type":"string","title":"Metadata Sha256"},"changes":{"type":"string","title":"Changes","default":"Selected state rows and normalized integer counts; native annotations preserved. No geographic aggregation or time-series inference."}},"additionalProperties":false,"type":"object","required":["snapshot","metadata_sha256"],"title":"CensusResult"},"CheckoutCreate":{"properties":{"pack":{"type":"string","enum":["starter","builder","team"],"title":"Pack"}},"additionalProperties":false,"type":"object","required":["pack"],"title":"CheckoutCreate"},"Column":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","title":"Name"},"logical_type":{"type":"string","enum":["string","integer","number","boolean","decimal","date","datetime","period"],"title":"Logical Type"},"roles":{"items":{"type":"string","enum":["entity","time","dimension","measure","attribute","quality"]},"type":"array","maxItems":6,"title":"Roles","default":[]},"nullable":{"type":"boolean","title":"Nullable","default":true},"unit":{"anyOf":[{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$"},{"type":"null"}],"title":"Unit"},"period_frequency":{"anyOf":[{"type":"string","enum":["month","quarter","year"]},{"type":"null"}],"title":"Period Frequency"}},"additionalProperties":false,"type":"object","required":["name","logical_type"],"title":"Column"},"ComtradeResult":{"properties":{"snapshot":{"$ref":"#/components/schemas/DataSnapshot"},"source_url":{"type":"string","title":"Source Url","default":"https://comtradeplus.un.org/"},"attribution":{"type":"string","title":"Attribution","default":"Source: UN Comtrade."},"terms_url":{"type":"string","title":"Terms Url","default":"https://uncomtrade.org/docs/re-dissemination-of-data/"},"geography_metadata_json":{"type":"string","title":"Geography Metadata Json"},"selected_cells":{"type":"integer","title":"Selected Cells"},"returned_cells":{"type":"integer","title":"Returned Cells"},"changes":{"type":"string","title":"Changes","default":"Selected annual all-goods cells with World second partner and total customs/transport. Preserved primary/CIF/FOB amounts and native classification and reporting flags. No aggregation, mirror substitution, currency conversion, rebasing or imputation."},"notice":{"type":"string","title":"Notice","default":"Primary value retains the source valuation; inspect CIF and FOB separately. Missing cells are not zero trade. Native HS revisions may differ. UN Comtrade does not endorse Welt; commercial API redistribution requires its applicable arrangement."}},"additionalProperties":false,"type":"object","required":["snapshot","geography_metadata_json","selected_cells","returned_cells"],"title":"ComtradeResult"},"Creator":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"}},"type":"object","required":["id","email"],"title":"Creator"},"CreditPack":{"properties":{"key":{"type":"string","enum":["starter","builder","team"],"title":"Key"},"name":{"type":"string","title":"Name"},"credits":{"type":"integer","title":"Credits"},"amount_usd_cents":{"type":"integer","title":"Amount Usd Cents"},"currency":{"type":"string","title":"Currency"}},"type":"object","required":["key","name","credits","amount_usd_cents","currency"],"title":"CreditPack"},"DataQuery":{"properties":{"dataset_id":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","title":"Dataset Id"},"schema_revision":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Schema Revision"},"selections":{"items":{"$ref":"#/components/schemas/Selection"},"type":"array","maxItems":32,"title":"Selections","default":[]},"columns":{"anyOf":[{"items":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$"},"type":"array","maxItems":256,"minItems":1},{"type":"null"}],"title":"Columns"},"as_of":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"As Of"},"freshness":{"$ref":"#/components/schemas/Freshness"},"limits":{"$ref":"#/components/schemas/Limits"}},"additionalProperties":false,"type":"object","required":["dataset_id","schema_revision"],"title":"DataQuery"},"DataSchema":{"properties":{"representation":{"type":"string","const":"table","title":"Representation","default":"table"},"observation_grain":{"type":"string","maxLength":500,"minLength":1,"title":"Observation Grain"},"structures":{"items":{"type":"string","enum":["cross_section","time_series","panel","repeated_cross_section","event_log","reference"]},"type":"array","maxItems":6,"minItems":1,"title":"Structures"},"columns":{"items":{"$ref":"#/components/schemas/Column"},"type":"array","maxItems":256,"minItems":1,"title":"Columns"},"primary_key":{"items":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$"},"type":"array","maxItems":32,"title":"Primary Key","default":[]}},"additionalProperties":false,"type":"object","required":["observation_grain","structures","columns"],"title":"DataSchema"},"DataSnapshot":{"properties":{"plan":{"$ref":"#/components/schemas/QueryPlan"},"receipt":{"$ref":"#/components/schemas/RetrievalReceipt"},"rows":{"items":{"items":{"anyOf":[{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"string"},{"type":"null"}]},"type":"array"},"type":"array","maxItems":100000,"title":"Rows"},"content_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Content Sha256"},"content_bytes":{"type":"integer","maximum":16777216.0,"minimum":1.0,"title":"Content Bytes"}},"additionalProperties":false,"type":"object","required":["plan","receipt","rows","content_sha256","content_bytes"],"title":"DataSnapshot","description":"Complete normalized result. Content can be empty; publication must be atomic later."},"DatasetCreate":{"properties":{"columns":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Columns"},"rows":{"items":{"items":{},"type":"array"},"type":"array","minItems":1,"title":"Rows"},"name":{"type":"string","maxLength":200,"title":"Name","default":"Untitled dataset"},"target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target"}},"additionalProperties":false,"type":"object","required":["columns","rows"],"title":"DatasetCreate"},"DatasetDescription":{"properties":{"contract_version":{"type":"string","const":"upstream-contract-v1","title":"Contract Version","default":"upstream-contract-v1"},"id":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","title":"Id"},"source_id":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","title":"Source Id"},"native_id":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","title":"Native Id"},"title":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","title":"Title"},"adapter_version":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","title":"Adapter Version"},"normalizer_version":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","title":"Normalizer Version"},"data_schema":{"$ref":"#/components/schemas/DataSchema"},"filters":{"items":{"$ref":"#/components/schemas/FilterCapability"},"type":"array","maxItems":256,"title":"Filters","default":[]},"supports_projection":{"type":"boolean","title":"Supports Projection","default":false},"supports_as_of":{"type":"boolean","title":"Supports As Of","default":false},"temporal_behaviour":{"type":"string","enum":["static","append_only","revisable","forecast_issuance"],"title":"Temporal Behaviour"},"policy":{"$ref":"#/components/schemas/SourcePolicy"},"limits":{"$ref":"#/components/schemas/Limits"},"filter_guidance":{"items":{"$ref":"#/components/schemas/FilterGuidance"},"type":"array","title":"Filter Guidance","description":"Local selection guidance for this exact curated profile. Does not grant access or guarantee observations; query validation remains authoritative.","default":[]},"materialization_evidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Materialization Evidence","description":"Operator qualification for independent ongoing retention and modelling. Null means materialization is not qualified; retrieval/export rights are also required."},"schema_revision":{"type":"string","title":"Schema Revision","readOnly":true}},"additionalProperties":false,"type":"object","required":["id","source_id","native_id","title","adapter_version","normalizer_version","data_schema","temporal_behaviour","schema_revision"],"title":"DatasetDescription"},"DatasetImport":{"properties":{"url":{"type":"string","maxLength":2048,"minLength":1,"title":"Url"},"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target"},"format":{"anyOf":[{"type":"string","enum":["csv","parquet"]},{"type":"null"}],"title":"Format"}},"additionalProperties":false,"type":"object","required":["url"],"title":"DatasetImport"},"DatasetOrigin":{"properties":{"kind":{"type":"string","const":"research","title":"Kind"},"task":{"anyOf":[{"type":"string","enum":["classification","regression","forecasting","causal_discovery"]},{"type":"null"}],"title":"Task"},"research_id":{"type":"string","title":"Research Id"},"version":{"type":"string","title":"Version"},"target":{"type":"string","title":"Target"},"exclude":{"items":{"type":"string"},"type":"array","title":"Exclude"},"excluded_dropped":{"items":{"type":"string"},"type":"array","title":"Excluded Dropped"},"sampled":{"type":"boolean","title":"Sampled"},"rows_total":{"type":"integer","title":"Rows Total"}},"type":"object","required":["kind","research_id","version","target","exclude","excluded_dropped","sampled","rows_total"],"title":"DatasetOrigin","description":"API-157: a dataset copied from a curated research record (Open in Welt)."},"DatasetPreview":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id"},"columns":{"items":{"type":"string"},"type":"array","title":"Columns"},"types":{"items":{"type":"string"},"type":"array","title":"Types"},"rows":{"items":{"items":{},"type":"array"},"type":"array","title":"Rows"},"total_rows":{"type":"integer","title":"Total Rows"}},"type":"object","required":["dataset_id","columns","types","rows","total_rows"],"title":"DatasetPreview"},"DatasetResource":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"rows":{"type":"integer","title":"Rows"},"columns":{"items":{"type":"string"},"type":"array","title":"Columns"},"types":{"items":{"type":"string"},"type":"array","title":"Types"},"target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target"},"created_at":{"type":"string","title":"Created At"},"origin":{"anyOf":[{"$ref":"#/components/schemas/DatasetOrigin"},{"$ref":"#/components/schemas/UpstreamDatasetOrigin"},{"type":"null"}],"title":"Origin"}},"type":"object","required":["id","name","rows","columns","types","target","created_at"],"title":"DatasetResource"},"DatasetSource":{"properties":{"dataset_id":{"type":"string","maxLength":128,"minLength":1,"title":"Dataset Id"}},"additionalProperties":false,"type":"object","required":["dataset_id"],"title":"DatasetSource","description":"An owned workspace dataset (``ds_...``) read through the existing dataset storage."},"DatasetSpec":{"properties":{"contract_version":{"type":"string","const":"upstream-contract-v1","title":"Contract Version","default":"upstream-contract-v1"},"id":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","title":"Id"},"source_id":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","title":"Source Id"},"native_id":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","title":"Native Id"},"title":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","title":"Title"},"adapter_version":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","title":"Adapter Version"},"normalizer_version":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","title":"Normalizer Version"},"data_schema":{"$ref":"#/components/schemas/DataSchema"},"filters":{"items":{"$ref":"#/components/schemas/FilterCapability"},"type":"array","maxItems":256,"title":"Filters","default":[]},"supports_projection":{"type":"boolean","title":"Supports Projection","default":false},"supports_as_of":{"type":"boolean","title":"Supports As Of","default":false},"temporal_behaviour":{"type":"string","enum":["static","append_only","revisable","forecast_issuance"],"title":"Temporal Behaviour"},"policy":{"$ref":"#/components/schemas/SourcePolicy"},"limits":{"$ref":"#/components/schemas/Limits"}},"additionalProperties":false,"type":"object","required":["id","source_id","native_id","title","adapter_version","normalizer_version","data_schema","temporal_behaviour"],"title":"DatasetSpec"},"DecisionCreate":{"properties":{"context":{"anyOf":[{"$ref":"#/components/schemas/DatasetSource"},{"$ref":"#/components/schemas/TableSource"}],"title":"Context"},"rows":{"anyOf":[{"$ref":"#/components/schemas/DatasetSource"},{"$ref":"#/components/schemas/TableSource"},{"type":"null"}],"title":"Rows"},"target":{"type":"string","maxLength":128,"minLength":1,"title":"Target"},"target_kind":{"type":"string","enum":["continuous","binary","categorical"],"title":"Target Kind"},"target_class":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Target Class"},"objective":{"type":"string","enum":["maximize","minimize"],"title":"Objective","default":"maximize"},"discovery_model":{"type":"string","maxLength":128,"minLength":1,"title":"Discovery Model"},"estimation_model":{"type":"string","maxLength":128,"minLength":1,"title":"Estimation Model"},"interventions":{"additionalProperties":{"$ref":"#/components/schemas/DecisionIntervention"},"type":"object","maxProperties":16,"minProperties":1,"title":"Interventions"},"types":{"additionalProperties":{"type":"string","enum":["continuous","binary","categorical"]},"type":"object","title":"Types"},"knowledge":{"$ref":"#/components/schemas/DecisionKnowledge"},"n_folds":{"type":"integer","maximum":10.0,"minimum":2.0,"title":"N Folds","default":5},"seed":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"Seed","default":0},"min_propensity":{"type":"number","exclusiveMaximum":0.5,"exclusiveMinimum":0.0,"title":"Min Propensity","default":0.01},"max_fits":{"type":"integer","maximum":2000.0,"minimum":1.0,"title":"Max Fits","default":500},"protocol":{"type":"string","enum":["decision-contrasts_v1","decision-contrasts_v2"],"title":"Protocol","description":"decision-contrasts_v1: query effects regress the paired doubly robust scores. decision-contrasts_v2: a doubly robust population estimate (for a binary target the arm outcome models are the classifier, so values can differ from v1); query effects use each intervention's method (plugin by default for a binary treatment and binary target: the difference of the cross-fitted arm outcome models). v2 needs a decision engine that supports it; until the deployment has one it returns 422 unsupported_capability.","default":"decision-contrasts_v1"}},"additionalProperties":false,"type":"object","required":["context","target","target_kind","discovery_model","estimation_model","interventions"],"title":"DecisionCreate"},"DecisionEffect":{"properties":{"variable":{"type":"string","title":"Variable"},"baseline":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"integer"},{"type":"number"}],"title":"Baseline"},"value":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"integer"},{"type":"number"}],"title":"Value"},"method":{"type":"string","title":"Method"},"effect":{"type":"number","title":"Effect"},"improvement":{"type":"number","title":"Improvement"},"rank":{"type":"integer","minimum":1.0,"title":"Rank"},"class_effects":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Class Effects"},"standard_error":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Standard Error"},"interval":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Interval"},"adjustment_set":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Adjustment Set"},"diagnostics":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Diagnostics"}},"additionalProperties":false,"type":"object","required":["variable","baseline","value","method","effect","improvement","rank","class_effects"],"title":"DecisionEffect"},"DecisionIntervention":{"properties":{"kind":{"anyOf":[{"type":"string","enum":["continuous","binary","categorical"]},{"type":"null"}],"title":"Kind"},"method":{"anyOf":[{"type":"string","enum":["dr","partially_linear","continuous_dr","plugin","s"]},{"type":"null"}],"title":"Method"},"baseline":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Baseline"},"values":{"anyOf":[{"items":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"integer"},{"type":"number"}]},"type":"array","maxItems":16,"minItems":1},{"type":"null"}],"title":"Values"},"bandwidth":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Bandwidth"}},"additionalProperties":false,"type":"object","title":"DecisionIntervention"},"DecisionKnowledge":{"properties":{"required_edges":{"items":{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},"type":"array","maxItems":1024,"title":"Required Edges"},"forbidden_edges":{"items":{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},"type":"array","maxItems":1024,"title":"Forbidden Edges"}},"additionalProperties":false,"type":"object","title":"DecisionKnowledge"},"DecisionResult":{"properties":{"task":{"type":"string","const":"decision","title":"Task","default":"decision"},"job_id":{"type":"string","title":"Job Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"protocol":{"type":"string","title":"Protocol"},"target":{"type":"string","title":"Target"},"target_kind":{"type":"string","enum":["continuous","binary","categorical"],"title":"Target Kind"},"target_class":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Target Class"},"objective":{"type":"string","enum":["maximize","minimize"],"title":"Objective"},"population":{"items":{"$ref":"#/components/schemas/DecisionEffect"},"type":"array","title":"Population"},"individual":{"items":{"$ref":"#/components/schemas/DecisionRow"},"type":"array","title":"Individual"},"skipped":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Skipped"},"graph":{"additionalProperties":true,"type":"object","title":"Graph"},"discovery":{"additionalProperties":true,"type":"object","title":"Discovery"},"n_context":{"type":"integer","title":"N Context"},"assumptions":{"items":{"type":"string"},"type":"array","title":"Assumptions"},"configuration":{"additionalProperties":true,"type":"object","title":"Configuration"},"provenance":{"additionalProperties":true,"type":"object","title":"Provenance"}},"additionalProperties":false,"type":"object","required":["job_id","workspace_id","protocol","target","target_kind","target_class","objective","population","individual","skipped","graph","discovery","n_context","assumptions","configuration","provenance"],"title":"DecisionResult"},"DecisionRow":{"properties":{"row":{"type":"integer","minimum":0.0,"title":"Row"},"interventions":{"items":{"$ref":"#/components/schemas/DecisionEffect"},"type":"array","title":"Interventions"}},"additionalProperties":false,"type":"object","required":["row","interventions"],"title":"DecisionRow"},"DeviceConnected":{"properties":{"status":{"type":"string","const":"connected","title":"Status","default":"connected"},"key":{"type":"string","title":"Key"},"key_metadata":{"$ref":"#/components/schemas/KeyResource"},"workspace":{"$ref":"#/components/schemas/WorkspaceResource"}},"additionalProperties":false,"type":"object","required":["key","key_metadata","workspace"],"title":"DeviceConnected"},"DeviceDecided":{"properties":{"status":{"type":"string","enum":["approved","denied"],"title":"Status"}},"additionalProperties":false,"type":"object","required":["status"],"title":"DeviceDecided"},"DeviceDecision":{"properties":{"user_code":{"type":"string","maxLength":11,"minLength":10,"title":"User Code"},"workspace_id":{"type":"string","maxLength":80,"minLength":1,"title":"Workspace Id"},"decision":{"type":"string","enum":["approve","deny"],"title":"Decision"},"scopes":{"anyOf":[{"items":{"type":"string","enum":["read","write"]},"type":"array","maxItems":2,"minItems":1},{"type":"null"}],"title":"Scopes"}},"additionalProperties":false,"type":"object","required":["user_code","workspace_id","decision"],"title":"DeviceDecision"},"DevicePending":{"properties":{"status":{"type":"string","const":"pending","title":"Status","default":"pending"},"interval":{"type":"integer","title":"Interval","default":5}},"additionalProperties":false,"type":"object","title":"DevicePending"},"DeviceStart":{"properties":{"client_name":{"type":"string","maxLength":100,"minLength":1,"title":"Client Name","default":"Welt Python"},"scopes":{"items":{"type":"string","enum":["read","write"]},"type":"array","maxItems":2,"minItems":1,"title":"Scopes"},"expires_in_days":{"type":"integer","maximum":365.0,"minimum":1.0,"title":"Expires In Days","default":30},"workspace":{"anyOf":[{"type":"string","maxLength":80,"minLength":1,"pattern":"^[a-z0-9][a-z0-9_-]*$"},{"type":"null"}],"title":"Workspace"}},"additionalProperties":false,"type":"object","title":"DeviceStart"},"DeviceStarted":{"properties":{"device_code":{"type":"string","title":"Device Code"},"user_code":{"type":"string","title":"User Code"},"verification_uri":{"type":"string","title":"Verification Uri"},"verification_uri_complete":{"type":"string","title":"Verification Uri Complete"},"expires_in":{"type":"integer","title":"Expires In"},"interval":{"type":"integer","title":"Interval"}},"additionalProperties":false,"type":"object","required":["device_code","user_code","verification_uri","verification_uri_complete","expires_in","interval"],"title":"DeviceStarted"},"DeviceToken":{"properties":{"device_code":{"type":"string","maxLength":43,"minLength":43,"pattern":"^[A-Za-z0-9_-]{43}$","title":"Device Code"}},"additionalProperties":false,"type":"object","required":["device_code"],"title":"DeviceToken"},"DeviceView":{"properties":{"user_code":{"type":"string","title":"User Code"},"client_name":{"type":"string","title":"Client Name"},"scopes":{"items":{"type":"string","enum":["read","write"]},"type":"array","title":"Scopes"},"expires_in_days":{"type":"integer","title":"Expires In Days"},"expires_at":{"type":"string","title":"Expires At"},"status":{"type":"string","enum":["pending","approved","denied","consumed"],"title":"Status"},"requested_workspace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Workspace"}},"additionalProperties":false,"type":"object","required":["user_code","client_name","scopes","expires_in_days","expires_at","status"],"title":"DeviceView"},"DiscoveryCreate":{"properties":{"dataset_id":{"type":"string","maxLength":128,"minLength":1,"title":"Dataset Id"},"model_id":{"type":"string","maxLength":128,"minLength":1,"title":"Model Id"},"model_version":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Model Version"},"configuration":{"type":"string","const":"default","title":"Configuration","default":"default"},"constraints":{"$ref":"#/components/schemas/DomainConstraints"},"seed":{"type":"integer","maximum":4294967295.0,"minimum":0.0,"title":"Seed","default":0}},"additionalProperties":false,"type":"object","required":["dataset_id","model_id"],"title":"DiscoveryCreate"},"DomainConstraints":{"properties":{"required_edges":{"items":{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},"type":"array","title":"Required Edges"},"forbidden_edges":{"items":{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},"type":"array","title":"Forbidden Edges"},"temporal_order":{"items":{"items":{"type":"string"},"type":"array"},"type":"array","title":"Temporal Order"}},"additionalProperties":false,"type":"object","title":"DomainConstraints"},"EiaResult":{"properties":{"snapshot":{"$ref":"#/components/schemas/DataSnapshot"},"api_version":{"type":"string","title":"Api Version"},"source_url":{"type":"string","title":"Source Url","default":"https://www.eia.gov/electricity/data/browser/"},"attribution":{"type":"string","title":"Attribution","default":"Source: U.S. Energy Information Administration (EIA)."},"terms_url":{"type":"string","title":"Terms Url","default":"https://www.eia.gov/about/copyrights_reuse.php"},"documentation_url":{"type":"string","title":"Documentation Url","default":"https://www.eia.gov/opendata/documentation.php"},"native_frequency":{"type":"string","title":"Native Frequency","default":"monthly"},"native_units":{"type":"string","title":"Native Units","default":"cents per kilowatthour"},"changes":{"type":"string","title":"Changes","default":"Selected native residential monthly state observations; preserved numeric strings and nulls. No unit conversion, aggregation, interpolation or seasonal adjustment."},"notice":{"type":"string","title":"Notice","default":"Latest revisable observations; no historical as-of vintage is asserted. EIA does not endorse Welt."}},"additionalProperties":false,"type":"object","required":["snapshot","api_version"],"title":"EiaResult"},"EmailInput":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"}},"additionalProperties":false,"type":"object","required":["email"],"title":"EmailInput"},"ErrorDetails":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"},"retryable":{"type":"boolean","title":"Retryable"},"request_id":{"type":"string","title":"Request Id"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"},"details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Details","description":"Structured context for some codes (e.g. credit estimates on 402); never input values."}},"type":"object","required":["code","message","retryable","request_id"],"title":"ErrorDetails"},"ErrorEnvelope":{"properties":{"error":{"$ref":"#/components/schemas/ErrorDetails"}},"type":"object","required":["error"],"title":"ErrorEnvelope"},"EurostatResult":{"properties":{"snapshot":{"$ref":"#/components/schemas/DataSnapshot"},"source_url":{"type":"string","title":"Source Url","default":"https://ec.europa.eu/eurostat/databrowser/view/une_rt_m/default/table?lang=en"},"attribution":{"type":"string","title":"Attribution","default":"Source: Eurostat, une_rt_m (https://doi.org/10.2908/une_rt_m); access date in retrieval receipt."},"terms_url":{"type":"string","title":"Terms Url","default":"https://ec.europa.eu/eurostat/help/copyright-notice"},"source_metadata_json":{"type":"string","title":"Source Metadata Json"},"source_updated_at":{"type":"string","title":"Source Updated At"},"changes":{"type":"string","title":"Changes","default":"Selected native cube, reordered rows and exact numeric strings. Missing cube cells retained; no additional months, scaling, rounding or imputation."},"notice":{"type":"string","title":"Notice","default":"Eurostat does not endorse Welt and is not responsible for changes made by Welt. Preserve attribution, access date, native metadata and applicable third-party notices."}},"additionalProperties":false,"type":"object","required":["snapshot","source_metadata_json","source_updated_at"],"title":"EurostatResult"},"EvaluationCreate":{"properties":{"dataset_id":{"type":"string","maxLength":128,"minLength":1,"title":"Dataset Id"},"task":{"type":"string","enum":["classification","regression"],"title":"Task"},"models":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Models","description":"Model IDs to compare. Empty: Welt evaluates every available model whose limits admit the data (evaluation-defaults-v1) and lists the others as skipped."},"folds":{"anyOf":[{"type":"integer","maximum":10.0,"minimum":2.0},{"type":"null"}],"title":"Folds","description":"Number of folds, default 5. With split=custom it is the number of distinct fold_column values."},"split":{"type":"string","enum":["auto","kfold","stratified","group","custom"],"title":"Split","description":"auto: stratified for classification, shuffled k-fold for regression. group keeps each group_column value in one fold; custom uses fold_column values as folds. Split columns are not features.","default":"auto"},"group_column":{"anyOf":[{"type":"string","maxLength":256,"minLength":1},{"type":"null"}],"title":"Group Column"},"fold_column":{"anyOf":[{"type":"string","maxLength":256,"minLength":1},{"type":"null"}],"title":"Fold Column"},"seed":{"type":"integer","maximum":4294967295.0,"minimum":0.0,"title":"Seed","default":0},"primary_metric":{"anyOf":[{"type":"string","enum":["roc_auc","log_loss","brier","accuracy","balanced_accuracy","f1_macro","ece","rmse","mae","r2","mape","median_ae"]},{"type":"null"}],"title":"Primary Metric","description":"Ranking metric. Default: ROC AUC for binary classification, log loss for multiclass, RMSE for regression."},"positive_class":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"null"}],"title":"Positive Class","description":"Binary classification only: the class whose probability ROC, precision-recall and calibration use. Default: the second class in sorted order."},"sample_rows":{"anyOf":[{"type":"integer","maximum":100000.0,"minimum":20.0},{"type":"null"}],"title":"Sample Rows","description":"Explicit opt-in: evaluate a seeded sample of this many rows (stratified for classification) when the dataset exceeds a model's limits. Without it, over-limit data is refused."},"max_credits":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Max Credits","description":"Refuse the evaluation if its estimate exceeds this."},"preview_sha256":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Preview Sha256","description":"Optional prepared-plan identity; stale setups are refused before queuing."}},"additionalProperties":false,"type":"object","required":["dataset_id","task"],"title":"EvaluationCreate"},"EvaluationFolds":{"properties":{"evaluation_id":{"type":"string","title":"Evaluation Id"},"metrics":{"items":{"type":"string"},"type":"array","title":"Metrics"},"items":{"items":{"$ref":"#/components/schemas/FoldMetrics"},"type":"array","title":"Items"}},"type":"object","required":["evaluation_id","metrics","items"],"title":"EvaluationFolds"},"EvaluationModel":{"properties":{"model_id":{"type":"string","title":"Model Id"},"name":{"type":"string","title":"Name"},"model_version":{"type":"string","title":"Model Version"},"configuration":{"type":"string","title":"Configuration"},"resolved_configuration":{"additionalProperties":true,"type":"object","title":"Resolved Configuration"},"job_id":{"type":"string","title":"Job Id"},"status":{"type":"string","enum":["queued","running","succeeded","partially_completed","failed","cancelled"],"title":"Status"},"error":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Error"},"fit_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fit Seconds"},"predict_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Predict Seconds"}},"type":"object","required":["model_id","name","model_version","configuration","job_id","status"],"title":"EvaluationModel"},"EvaluationPredictions":{"properties":{"evaluation_id":{"type":"string","title":"Evaluation Id"},"task":{"type":"string","title":"Task"},"classes":{"anyOf":[{"items":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"}]},"type":"array"},{"type":"null"}],"title":"Classes"},"row_index":{"items":{"type":"integer"},"type":"array","title":"Row Index","description":"Position of each evaluated row in the stored dataset."},"fold":{"items":{"type":"integer"},"type":"array","title":"Fold"},"actual":{"items":{},"type":"array","title":"Actual"},"models":{"additionalProperties":{"$ref":"#/components/schemas/ModelPredictions"},"type":"object","title":"Models","description":"Out-of-fold outputs per model ID (and baseline): class labels with probabilities in `classes` order, or numbers for regression."},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["evaluation_id","task","row_index","fold","actual","models"],"title":"EvaluationPredictions"},"EvaluationPreview":{"properties":{"ready":{"type":"boolean","title":"Ready"},"policy":{"type":"string","title":"Policy","default":"dashboard-quick-v1"},"request":{"anyOf":[{"$ref":"#/components/schemas/EvaluationCreate"},{"type":"null"}]},"rows":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rows"},"dataset_rows":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Dataset Rows"},"features":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Features"},"training_rows":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Training Rows"},"estimated_credits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Credits"},"models":{"items":{"$ref":"#/components/schemas/PreviewModel"},"type":"array","title":"Models"},"skipped":{"items":{"$ref":"#/components/schemas/SkippedModel"},"type":"array","title":"Skipped"},"problems":{"items":{"$ref":"#/components/schemas/PreviewProblem"},"type":"array","title":"Problems"}},"type":"object","required":["ready"],"title":"EvaluationPreview"},"EvaluationPreviewCreate":{"properties":{"request":{"$ref":"#/components/schemas/EvaluationCreate"},"quick":{"type":"boolean","title":"Quick","default":true}},"type":"object","required":["request"],"title":"EvaluationPreviewCreate"},"EvaluationResource":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","enum":["queued","running","succeeded","partially_completed","failed","cancelled"],"title":"Status"},"stage":{"type":"string","title":"Stage"},"operation_id":{"type":"string","title":"Operation Id"},"dataset_id":{"type":"string","title":"Dataset Id"},"dataset_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Name"},"task":{"type":"string","enum":["classification","regression"],"title":"Task"},"target":{"type":"string","title":"Target"},"rows":{"type":"integer","title":"Rows"},"dataset_rows":{"type":"integer","title":"Dataset Rows"},"feature_columns":{"items":{"type":"string"},"type":"array","title":"Feature Columns"},"folds":{"type":"integer","title":"Folds"},"split":{"type":"string","title":"Split"},"group_column":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Group Column"},"fold_column":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fold Column"},"seed":{"type":"integer","title":"Seed"},"sample_rows":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sample Rows"},"primary_metric":{"type":"string","title":"Primary Metric"},"positive_class":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"null"}],"title":"Positive Class"},"classes":{"anyOf":[{"items":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"}]},"type":"array"},{"type":"null"}],"title":"Classes"},"class_counts":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Class Counts"},"fold_sha256":{"type":"string","title":"Fold Sha256"},"protocol_version":{"type":"string","title":"Protocol Version"},"metrics_version":{"type":"string","title":"Metrics Version"},"report_version":{"type":"string","title":"Report Version"},"model_selection":{"type":"string","enum":["explicit","evaluation-defaults-v1"],"title":"Model Selection"},"models":{"items":{"$ref":"#/components/schemas/EvaluationModel"},"type":"array","title":"Models"},"skipped":{"items":{"$ref":"#/components/schemas/SkippedModel"},"type":"array","title":"Skipped"},"estimated_credits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Credits"},"credits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Credits","description":"Credits settled at the outcome (null until then)."},"runtime":{"additionalProperties":{"type":"string"},"type":"object","title":"Runtime","description":"Library versions used to compute metrics."},"summary":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Summary","description":"When finished: leaderboard (mean, sd and pooled metrics per model), baseline, the paired comparison of the top two and warnings."},"report_available":{"type":"boolean","title":"Report Available","default":false},"predictions_expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Predictions Expires At"},"error":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Error"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Completed At"}},"type":"object","required":["id","status","stage","operation_id","dataset_id","task","target","rows","dataset_rows","feature_columns","folds","split","seed","primary_metric","fold_sha256","protocol_version","metrics_version","report_version","model_selection","models","created_at","updated_at"],"title":"EvaluationResource"},"ExamplePredict":{"properties":{"model_id":{"type":"string","pattern":"^[a-z0-9][a-z0-9.-]{0,60}$","title":"Model Id"},"row":{"type":"integer","maximum":4.0,"minimum":0.0,"title":"Row"},"values":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":5,"title":"Values"}},"additionalProperties":false,"type":"object","required":["model_id","row"],"title":"ExamplePredict"},"ExamplePrediction":{"properties":{"status":{"type":"string","enum":["done","pending"],"title":"Status"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"},"predicted":{"anyOf":[{},{"type":"null"}],"title":"Predicted"},"probability":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Probability"},"positive":{"anyOf":[{},{"type":"null"}],"title":"Positive"},"model_id":{"type":"string","title":"Model Id"},"model_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Version"}},"type":"object","required":["status","model_id"],"title":"ExamplePrediction"},"FileSchema":{"properties":{"columns":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Columns"},"types":{"items":{"type":"string","enum":["number","string","boolean"]},"type":"array","minItems":1,"title":"Types"}},"additionalProperties":false,"type":"object","required":["columns","types"],"title":"FileSchema"},"FilterCapability":{"properties":{"column":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","title":"Column"},"operators":{"items":{"type":"string","enum":["eq","in","gte","lte"]},"type":"array","maxItems":4,"minItems":1,"title":"Operators"}},"additionalProperties":false,"type":"object","required":["column","operators"],"title":"FilterCapability"},"FilterChoice":{"properties":{"value":{"type":"string","title":"Value"},"label":{"type":"string","title":"Label"}},"additionalProperties":false,"type":"object","required":["value","label"],"title":"FilterChoice"},"FilterGuidance":{"properties":{"column":{"type":"string","title":"Column"},"required":{"type":"boolean","title":"Required","default":false},"requires_bounds":{"type":"boolean","title":"Requires Bounds","description":"Supply eq, or both gte and lte, for this column.","default":false},"choices":{"items":{"$ref":"#/components/schemas/FilterChoice"},"type":"array","maxItems":400,"title":"Choices","default":[]},"choices_complete":{"type":"boolean","title":"Choices Complete","description":"True only when choices enumerate the entire supported profile domain, not guaranteed observations.","default":false},"examples":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Examples","default":[]},"reference_dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Dataset Id"},"note":{"type":"string","title":"Note"}},"additionalProperties":false,"type":"object","required":["column","note"],"title":"FilterGuidance"},"FirstPrediction":{"properties":{"operation_id":{"type":"string","title":"Operation Id"},"model_id":{"type":"string","title":"Model Id"},"model_version":{"type":"string","title":"Model Version"},"predictor_id":{"type":"string","title":"Predictor Id"},"completed_at":{"type":"string","title":"Completed At"}},"type":"object","required":["operation_id","model_id","model_version","predictor_id","completed_at"],"title":"FirstPrediction"},"FitCreate":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id"},"model_id":{"type":"string","title":"Model Id"},"task":{"type":"string","enum":["classification","regression"],"title":"Task"},"configuration":{"type":"string","const":"default","title":"Configuration","default":"default"},"seed":{"type":"integer","maximum":4294967295.0,"minimum":0.0,"title":"Seed","default":0}},"additionalProperties":false,"type":"object","required":["dataset_id","model_id","task"],"title":"FitCreate"},"FitPreview":{"properties":{"ready":{"type":"boolean","title":"Ready"},"request":{"anyOf":[{"$ref":"#/components/schemas/FitCreate"},{"type":"null"}]},"preview_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preview Sha256"},"max_credits":{"type":"integer","title":"Max Credits","default":100},"estimated_credits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Credits"},"model_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Name"},"problems":{"items":{"$ref":"#/components/schemas/PreviewProblem"},"type":"array","title":"Problems"}},"type":"object","required":["ready"],"title":"FitPreview"},"FitPreviewCreate":{"properties":{"request":{"$ref":"#/components/schemas/FitCreate"},"max_credits":{"type":"integer","minimum":1.0,"title":"Max Credits","default":100}},"type":"object","required":["request"],"title":"FitPreviewCreate"},"FitResult":{"properties":{"predictor_id":{"type":"string","title":"Predictor Id"}},"additionalProperties":false,"type":"object","required":["predictor_id"],"title":"FitResult"},"FoldMetrics":{"properties":{"model_id":{"type":"string","title":"Model Id"},"fold":{"type":"integer","title":"Fold"},"rows":{"type":"integer","title":"Rows"},"values":{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"null"}]},"type":"object","title":"Values"}},"type":"object","required":["model_id","fold","rows","values"],"title":"FoldMetrics"},"ForecastCreate":{"properties":{"model_id":{"type":"string","maxLength":128,"minLength":1,"title":"Model Id"},"configuration":{"type":"string","const":"default","title":"Configuration","default":"default"},"history":{"anyOf":[{"$ref":"#/components/schemas/DatasetSource"},{"$ref":"#/components/schemas/TableSource"}],"title":"History"},"future":{"anyOf":[{"$ref":"#/components/schemas/DatasetSource"},{"$ref":"#/components/schemas/TableSource"},{"type":"null"}],"title":"Future","description":"Known-ahead values at exactly the horizon timestamps for each history series. Required exactly when future_covariates is nonempty; contains only time, optional series ID and those covariates."},"time_column":{"type":"string","maxLength":128,"minLength":1,"title":"Time Column"},"id_column":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Id Column"},"targets":{"items":{"type":"string"},"type":"array","maxItems":256,"minItems":1,"title":"Targets"},"past_covariates":{"items":{"type":"string"},"type":"array","maxItems":256,"title":"Past Covariates","description":"History-only covariate columns observed by the forecast origin. Their future observations must not be supplied as known-ahead inputs. Numeric or declared categorical values."},"future_covariates":{"items":{"type":"string"},"type":"array","maxItems":256,"title":"Future Covariates","description":"Covariate columns genuinely known for the forecast horizon, such as a calendar or planned schedule. Complete values are required in both history and the separate future table."},"categorical_covariates":{"items":{"type":"string"},"type":"array","maxItems":256,"title":"Categorical Covariates","description":"Names among past_covariates or future_covariates whose values are string/integer categories. Timestral requires a single target when any covariate is categorical."},"frequency":{"anyOf":[{"$ref":"#/components/schemas/ForecastingFrequency"},{"type":"null"}]},"horizon":{"type":"integer","maximum":100000.0,"minimum":1.0,"title":"Horizon"},"quantile_levels":{"items":{"type":"number"},"type":"array","maxItems":21,"minItems":1,"title":"Quantile Levels"},"cross_learning":{"type":"boolean","title":"Cross Learning","default":false}},"additionalProperties":false,"type":"object","required":["model_id","history","time_column","targets","horizon"],"title":"ForecastCreate"},"ForecastEnvelope":{"properties":{"max_context":{"type":"integer","title":"Max Context"},"max_variates":{"type":"integer","title":"Max Variates"},"max_series":{"type":"integer","title":"Max Series"},"max_horizon":{"type":"integer","title":"Max Horizon"}},"type":"object","required":["max_context","max_variates","max_series","max_horizon"],"title":"ForecastEnvelope","description":"One measured forecasting corner (DEC-085): a request is admitted when its longest\nhistory, variates (targets + past + future covariates), series count and horizon are all\nwithin one listed corner."},"ForecastRequest":{"properties":{"task":{"type":"string","const":"univariate_forecasting","title":"Task","default":"univariate_forecasting"},"model_id":{"type":"string","maxLength":128,"minLength":1,"title":"Model Id"},"series":{"$ref":"#/components/schemas/UnivariateSeries"},"horizon":{"type":"integer","maximum":64.0,"minimum":1.0,"title":"Horizon"},"quantile_levels":{"items":{"anyOf":[{"type":"number"},{"type":"integer"}]},"type":"array","maxItems":9,"minItems":1,"title":"Quantile Levels"}},"additionalProperties":false,"type":"object","required":["model_id","series","horizon"],"title":"ForecastRequest"},"ForecastResult":{"properties":{"task":{"type":"string","const":"univariate_forecasting","title":"Task","default":"univariate_forecasting"},"model_id":{"type":"string","title":"Model Id"},"model_version":{"type":"string","title":"Model Version"},"configuration":{"type":"string","title":"Configuration"},"context_length":{"type":"integer","maximum":512.0,"minimum":16.0,"title":"Context Length"},"horizon":{"type":"integer","maximum":64.0,"minimum":1.0,"title":"Horizon"},"frequency_seconds":{"type":"integer","minimum":1.0,"title":"Frequency Seconds"},"timestamps":{"items":{"type":"string","format":"date-time"},"type":"array","title":"Timestamps"},"predictions":{"items":{"anyOf":[{"type":"number"},{"type":"integer"}]},"type":"array","title":"Predictions"},"point_semantics":{"type":"string","const":"median","title":"Point Semantics","default":"median"},"quantile_levels":{"items":{"anyOf":[{"type":"number"},{"type":"integer"}]},"type":"array","title":"Quantile Levels"},"quantiles":{"items":{"items":{"anyOf":[{"type":"number"},{"type":"integer"}]},"type":"array"},"type":"array","title":"Quantiles"},"calibrated_intervals":{"type":"boolean","const":false,"title":"Calibrated Intervals","default":false}},"additionalProperties":false,"type":"object","required":["model_id","model_version","configuration","context_length","horizon","frequency_seconds","timestamps","predictions","quantile_levels","quantiles"],"title":"ForecastResult"},"ForecastSeriesResult":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"target":{"type":"string","title":"Target"},"context_length":{"type":"integer","title":"Context Length"},"timestamps":{"items":{"type":"string"},"type":"array","title":"Timestamps"},"predictions":{"items":{"type":"number"},"type":"array","title":"Predictions"},"quantiles":{"items":{"items":{"type":"number"},"type":"array"},"type":"array","title":"Quantiles"}},"additionalProperties":false,"type":"object","required":["id","target","context_length","timestamps","predictions","quantiles"],"title":"ForecastSeriesResult"},"ForecastingColumns":{"properties":{"time":{"type":"string","title":"Time"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"targets":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Targets"},"past_covariates":{"items":{"type":"string"},"type":"array","title":"Past Covariates"},"future_covariates":{"items":{"type":"string"},"type":"array","title":"Future Covariates"},"categorical_covariates":{"items":{"type":"string"},"type":"array","title":"Categorical Covariates"}},"additionalProperties":false,"type":"object","required":["time","id","targets","past_covariates","future_covariates","categorical_covariates"],"title":"ForecastingColumns"},"ForecastingFrequency":{"properties":{"unit":{"type":"string","enum":["second","minute","hour","day","week","month","quarter","year"],"title":"Unit"},"every":{"type":"integer","maximum":1000000.0,"minimum":1.0,"title":"Every"}},"additionalProperties":false,"type":"object","required":["unit","every"],"title":"ForecastingFrequency"},"ForecastingResult":{"properties":{"task":{"type":"string","const":"forecasting","title":"Task","default":"forecasting"},"model_id":{"type":"string","title":"Model Id"},"model_version":{"type":"string","title":"Model Version"},"configuration":{"type":"string","title":"Configuration"},"horizon":{"type":"integer","minimum":1.0,"title":"Horizon"},"frequency":{"$ref":"#/components/schemas/ForecastingFrequency"},"quantile_levels":{"items":{"type":"number"},"type":"array","title":"Quantile Levels"},"point_semantics":{"type":"string","const":"median","title":"Point Semantics","default":"median"},"calibrated_intervals":{"type":"boolean","const":false,"title":"Calibrated Intervals","default":false},"cross_learning":{"type":"boolean","title":"Cross Learning"},"rearranged_steps":{"type":"integer","minimum":0.0,"title":"Rearranged Steps"},"columns":{"$ref":"#/components/schemas/ForecastingColumns"},"series":{"items":{"$ref":"#/components/schemas/ForecastSeriesResult"},"type":"array","minItems":1,"title":"Series"}},"additionalProperties":false,"type":"object","required":["model_id","model_version","configuration","horizon","frequency","quantile_levels","cross_learning","rearranged_steps","columns","series"],"title":"ForecastingResult","description":"DEC-085 §2. One ``series`` entry per (id, target): ids in first-appearance order in the\nhistory, then targets in request order."},"FredResult":{"properties":{"snapshot":{"$ref":"#/components/schemas/DataSnapshot"},"native_frequency":{"type":"string","title":"Native Frequency"},"native_units":{"type":"string","title":"Native Units"},"seasonal_adjustment":{"type":"string","title":"Seasonal Adjustment"},"resolved_realtime_date":{"type":"string","title":"Resolved Realtime Date"},"metadata_sha256":{"type":"string","title":"Metadata Sha256"},"source_url":{"type":"string","title":"Source Url"},"attribution":{"type":"string","title":"Attribution"},"source_notes":{"type":"string","title":"Source Notes"},"terms_url":{"type":"string","title":"Terms Url","default":"https://fred.stlouisfed.org/docs/api/terms_of_use.html"},"notice":{"type":"string","title":"Notice","default":"This product uses the FRED® API but is not endorsed or certified by the Federal Reserve Bank of St. Louis."}},"additionalProperties":false,"type":"object","required":["snapshot","native_frequency","native_units","seasonal_adjustment","resolved_realtime_date","metadata_sha256","source_url","attribution","source_notes"],"title":"FredResult","description":"Source semantics accompany the immutable contract result, without credentials."},"Freshness":{"properties":{"mode":{"type":"string","enum":["latest","max_age"],"title":"Mode","default":"latest"},"max_age_seconds":{"anyOf":[{"type":"integer","maximum":604800.0,"minimum":0.0},{"type":"null"}],"title":"Max Age Seconds"}},"additionalProperties":false,"type":"object","title":"Freshness"},"ImfResult":{"properties":{"snapshot":{"$ref":"#/components/schemas/DataSnapshot"},"api_version":{"type":"string","title":"Api Version","default":"2"},"source_url":{"type":"string","title":"Source Url","default":"https://www.imf.org/external/datamapper/NGDP_RPCH@WEO"},"attribution":{"type":"string","title":"Attribution","default":"Source: International Monetary Fund, World Economic Outlook (WEO)."},"terms_url":{"type":"string","title":"Terms Url","default":"https://www.imf.org/en/about/copyright-and-terms"},"source_edition":{"type":"string","title":"Source Edition"},"source_last_modified_native":{"type":"string","title":"Source Last Modified Native"},"source_projection_year":{"type":"integer","title":"Source Projection Year"},"source_metadata_json":{"type":"string","title":"Source Metadata Json"},"annual_reporting_basis":{"type":"string","title":"Annual Reporting Basis","default":"Unspecified by this DataMapper payload; native year labels may represent fiscal years (including India), not calendar years. Do not align across countries as calendar-year intervals without source-specific qualification."},"changes":{"type":"string","title":"Changes","default":"Locally selected country/year cells from the bounded native indicator response; exact decimal values and explicit nulls retained, absent cells not filled. No aggregation, interpolation or unit conversion."},"notice":{"type":"string","title":"Notice","default":"Data are freely available from IMF. Commercial reuse permission remains pending. DataMapper projection-year is an indicator display marker, not country-series actual/estimate status. Historical values may be revised or estimated. No historical as-of or publication timestamp is asserted."}},"additionalProperties":false,"type":"object","required":["snapshot","source_edition","source_last_modified_native","source_projection_year","source_metadata_json"],"title":"ImfResult"},"InvitationCreate":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"role":{"type":"string","enum":["member","admin"],"title":"Role","default":"member"}},"additionalProperties":false,"type":"object","required":["email"],"title":"InvitationCreate"},"InvitationDecision":{"properties":{},"additionalProperties":false,"type":"object","title":"InvitationDecision"},"InvitationIssued":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"},"role":{"type":"string","enum":["member","admin"],"title":"Role"},"invited_by":{"$ref":"#/components/schemas/Creator"},"created_at":{"type":"string","title":"Created At"},"expires_at":{"type":"string","title":"Expires At"},"status":{"type":"string","enum":["pending","accepted","revoked","expired"],"title":"Status"},"delivered":{"type":"boolean","title":"Delivered"},"accept_link":{"type":"string","title":"Accept Link"}},"type":"object","required":["id","email","role","invited_by","created_at","expires_at","status","delivered","accept_link"],"title":"InvitationIssued","description":"Creation response only: the accept link is shown once and never listed again."},"InvitationPreview":{"properties":{"id":{"type":"string","title":"Id"},"workspace":{"$ref":"#/components/schemas/InvitedWorkspace"},"role":{"type":"string","enum":["member","admin"],"title":"Role"},"invited_by":{"type":"string","title":"Invited By"},"expires_at":{"type":"string","title":"Expires At"}},"type":"object","required":["id","workspace","role","invited_by","expires_at"],"title":"InvitationPreview"},"InvitationResource":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"},"role":{"type":"string","enum":["member","admin"],"title":"Role"},"invited_by":{"$ref":"#/components/schemas/Creator"},"created_at":{"type":"string","title":"Created At"},"expires_at":{"type":"string","title":"Expires At"},"status":{"type":"string","enum":["pending","accepted","revoked","expired"],"title":"Status"},"delivered":{"type":"boolean","title":"Delivered"}},"type":"object","required":["id","email","role","invited_by","created_at","expires_at","status","delivered"],"title":"InvitationResource"},"InvitedWorkspace":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"kind":{"type":"string","enum":["personal","team","academic"],"title":"Kind"}},"type":"object","required":["id","name","kind"],"title":"InvitedWorkspace"},"JobResource":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","enum":["queued","running","succeeded","partially_completed","failed","cancelled"],"title":"Status"},"stage":{"type":"string","title":"Stage"},"operation":{"type":"string","enum":["fit","predict","discover","batch_predict","model_run","evaluate_model","forecast","decide"],"title":"Operation"},"operation_id":{"type":"string","title":"Operation Id"},"model_id":{"type":"string","title":"Model Id"},"model_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Version"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"predictor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Predictor Id"},"task":{"type":"string","title":"Task"},"configuration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Configuration"},"resolved_configuration":{"additionalProperties":true,"type":"object","title":"Resolved Configuration"},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seed"},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Result"},"error":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Error"},"created_at":{"type":"string","title":"Created At"},"updated_at":{"type":"string","title":"Updated At"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"purged":{"type":"boolean","title":"Purged","default":false},"evaluation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluation Id","description":"For evaluate_model jobs: the evaluation they belong to."},"horizon":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Horizon","description":"For forecast jobs: steps forecast after each series."},"target_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Target Count","description":"For forecast jobs: number of target columns."},"series_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Series Count","description":"For forecast jobs: number of series (ids)."}},"type":"object","required":["id","status","stage","operation","operation_id","model_id","dataset_id","task","created_at","updated_at"],"title":"JobResource"},"KeyConnection":{"properties":{"client_id":{"type":"string","title":"Client Id"},"client_name":{"type":"string","title":"Client Name"},"redirect_host":{"type":"string","title":"Redirect Host"}},"type":"object","required":["client_id","client_name","redirect_host"],"title":"KeyConnection","description":"DEC-072: an approved OAuth (MCP client) connection, which has no usable key secret."},"KeyCreate":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"scopes":{"items":{"type":"string","enum":["read","write"]},"type":"array","minItems":1,"title":"Scopes"},"expires_in_days":{"anyOf":[{"type":"integer","maximum":365.0,"minimum":1.0},{"type":"null"}],"title":"Expires In Days"}},"additionalProperties":false,"type":"object","required":["name"],"title":"KeyCreate"},"KeyCreator":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"}},"type":"object","required":["id","email"],"title":"KeyCreator"},"KeyIssued":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"prefix":{"type":"string","title":"Prefix"},"creator_id":{"type":"string","title":"Creator Id"},"created_by":{"$ref":"#/components/schemas/KeyCreator"},"created_at":{"type":"string","title":"Created At"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"scopes":{"items":{"type":"string","enum":["read","write"]},"type":"array","title":"Scopes"},"revoked":{"type":"boolean","title":"Revoked"},"connection":{"anyOf":[{"$ref":"#/components/schemas/KeyConnection"},{"type":"null"}]},"key":{"type":"string","title":"Key"}},"type":"object","required":["id","name","prefix","creator_id","created_by","created_at","expires_at","scopes","revoked","key"],"title":"KeyIssued"},"KeyResource":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"prefix":{"type":"string","title":"Prefix"},"creator_id":{"type":"string","title":"Creator Id"},"created_by":{"$ref":"#/components/schemas/KeyCreator"},"created_at":{"type":"string","title":"Created At"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"scopes":{"items":{"type":"string","enum":["read","write"]},"type":"array","title":"Scopes"},"revoked":{"type":"boolean","title":"Revoked"},"connection":{"anyOf":[{"$ref":"#/components/schemas/KeyConnection"},{"type":"null"}]}},"type":"object","required":["id","name","prefix","creator_id","created_by","created_at","expires_at","scopes","revoked"],"title":"KeyResource"},"LaneStatus":{"properties":{"models":{"items":{"type":"string"},"type":"array","title":"Models"},"estimated_wait_seconds":{"type":"number","title":"Estimated Wait Seconds"},"busy":{"type":"boolean","title":"Busy"}},"type":"object","required":["models","estimated_wait_seconds","busy"],"title":"LaneStatus"},"LedgerEntry":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","enum":["grant","purchase","consume","refund","adjustment"],"title":"Kind"},"credits":{"type":"integer","title":"Credits"},"reference":{"type":"string","title":"Reference"},"rate_card_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rate Card Version"},"operation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation Id"},"attempt_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attempt Id"},"created_at":{"type":"string","title":"Created At"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["id","kind","credits","reference","rate_card_version","operation_id","attempt_id","created_at","note"],"title":"LedgerEntry"},"Limits":{"properties":{"max_rows":{"type":"integer","maximum":100000.0,"minimum":1.0,"title":"Max Rows","default":10000},"max_bytes":{"type":"integer","maximum":16777216.0,"minimum":1.0,"title":"Max Bytes","default":4194304},"max_pages":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Max Pages","default":100},"timeout_seconds":{"type":"integer","maximum":120.0,"minimum":1.0,"title":"Timeout Seconds","default":30}},"additionalProperties":false,"type":"object","title":"Limits","description":"Structural ceilings for v1, not a live provider budget or latency promise."},"MaterializeRequest":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"target":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Target"},"decimal_encoding":{"type":"string","enum":["string","float64"],"title":"Decimal Encoding"}},"additionalProperties":false,"type":"object","required":["name","decimal_encoding"],"title":"MaterializeRequest"},"MemberResource":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"verified":{"type":"boolean","title":"Verified"},"role":{"type":"string","enum":["owner","admin","member"],"title":"Role"}},"type":"object","required":["id","email","name","verified","role"],"title":"MemberResource"},"MemberRoleUpdate":{"properties":{"role":{"type":"string","enum":["member","admin"],"title":"Role"}},"additionalProperties":false,"type":"object","required":["role"],"title":"MemberRoleUpdate"},"ModelAttribution":{"properties":{"notice":{"type":"string","title":"Notice"},"licence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Licence"},"licence_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Licence Url"}},"type":"object","required":["notice"],"title":"ModelAttribution"},"ModelPredictions":{"properties":{"predictions":{"items":{},"type":"array","title":"Predictions"},"probabilities":{"anyOf":[{"items":{"items":{"type":"number"},"type":"array"},"type":"array"},{"type":"null"}],"title":"Probabilities"}},"type":"object","required":["predictions"],"title":"ModelPredictions"},"ModelResource":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"family":{"type":"string","enum":["tabular","causal","forecasting"],"title":"Family"},"tasks":{"items":{"type":"string"},"type":"array","title":"Tasks"},"status":{"type":"string","enum":["planned","available"],"title":"Status"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"operations":{"items":{"type":"string"},"type":"array","title":"Operations"},"limits":{"additionalProperties":{"type":"integer"},"type":"object","title":"Limits"},"shapes":{"items":{"$ref":"#/components/schemas/AdmittedShape"},"type":"array","title":"Shapes","description":"Admitted workload shapes of the default task profile (see task_profiles[].shapes)."},"configurations":{"items":{"type":"string"},"type":"array","title":"Configurations"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"task_profiles":{"items":{"$ref":"#/components/schemas/ModelTaskProfile"},"type":"array","title":"Task Profiles"},"configuration":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Configuration","description":"Forecasting models only: the resolved configuration of the default (legacy run) task, which released SDKs 0.11-0.13 pin; each task profile carries its own."},"supports_version_expectations":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Supports Version Expectations","description":"Forecasting models only: X-Welt-Model-Version / X-Welt-Configuration-Version are honoured."},"forecast_envelopes":{"anyOf":[{"items":{"$ref":"#/components/schemas/ForecastEnvelope"},"type":"array"},{"type":"null"}],"title":"Forecast Envelopes","description":"Forecasting models only: the measured corners that admit a forecast (DEC-085)."},"min_context":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Context","description":"Forecasting models only: the fewest history rows every series needs."},"quantile_levels":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Quantile Levels","description":"Forecasting models only: the native quantile levels a forecast may request."},"attribution":{"anyOf":[{"$ref":"#/components/schemas/ModelAttribution"},{"type":"null"}],"description":"The weight licence's attribution notice and licence link, for models whose weights carry one."},"stage":{"type":"string","enum":["general","research_preview"],"title":"Stage","description":"Release stage (DEC-095). general: the normal catalogue promise. research_preview: available and priced as usual, but limits, quality and outputs may change between versions with no stability promise; show the notice with its results."},"notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notice","description":"Disclosure for research-preview models, shown wherever the model and its results are shown."}},"type":"object","required":["id","name","family","tasks","status","version","operations","limits","configurations","reason"],"title":"ModelResource"},"ModelTaskProfile":{"properties":{"task":{"type":"string","title":"Task"},"status":{"type":"string","enum":["planned","available"],"title":"Status"},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"operations":{"items":{"type":"string"},"type":"array","title":"Operations"},"limits":{"additionalProperties":{"type":"integer"},"type":"object","title":"Limits"},"shapes":{"items":{"$ref":"#/components/schemas/AdmittedShape"},"type":"array","title":"Shapes","description":"Admitted workload shapes. limits.max_rows/max_columns (max_features for causal) is the compatibility rectangle, admitted in full; any listed shape is also admitted."},"configurations":{"items":{"type":"string"},"type":"array","title":"Configurations"},"execution_available":{"type":"boolean","title":"Execution Available"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"configuration":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Configuration"},"supports_version_expectations":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Supports Version Expectations"},"forecast_envelopes":{"anyOf":[{"items":{"$ref":"#/components/schemas/ForecastEnvelope"},"type":"array"},{"type":"null"}],"title":"Forecast Envelopes"},"min_context":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Context"},"quantile_levels":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Quantile Levels"}},"type":"object","required":["task","status","version","operations","limits","configurations","execution_available","reason"],"title":"ModelTaskProfile"},"OAuthClientView":{"properties":{"client_id":{"type":"string","title":"Client Id"},"client_name":{"type":"string","title":"Client Name"},"client_uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Uri"},"registration":{"type":"string","enum":["metadata_document","dynamic"],"title":"Registration"}},"type":"object","required":["client_id","client_name","client_uri","registration"],"title":"OAuthClientView"},"OAuthDecided":{"properties":{"redirect_to":{"type":"string","title":"Redirect To"}},"type":"object","required":["redirect_to"],"title":"OAuthDecided"},"OAuthDecision":{"properties":{"decision":{"type":"string","enum":["approve","deny"],"title":"Decision"},"workspace_id":{"anyOf":[{"type":"string","maxLength":80,"minLength":1},{"type":"null"}],"title":"Workspace Id"},"scopes":{"anyOf":[{"items":{"type":"string","enum":["read","write"]},"type":"array","maxItems":2,"minItems":1},{"type":"null"}],"title":"Scopes"},"expires_in_days":{"type":"integer","maximum":365.0,"minimum":1.0,"title":"Expires In Days","default":30}},"additionalProperties":false,"type":"object","required":["decision"],"title":"OAuthDecision"},"OAuthRedirect":{"properties":{"provider":{"type":"string","enum":["google.com","github.com"],"title":"Provider"},"authorization_url":{"type":"string","title":"Authorization Url"}},"type":"object","required":["provider","authorization_url"],"title":"OAuthRedirect"},"OAuthRequestView":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","enum":["pending","approved","denied"],"title":"Status"},"client":{"$ref":"#/components/schemas/OAuthClientView"},"redirect_uri":{"type":"string","title":"Redirect Uri"},"redirect_host":{"type":"string","title":"Redirect Host"},"scopes":{"items":{"type":"string","enum":["read","write"]},"type":"array","title":"Scopes"},"expires_at":{"type":"string","title":"Expires At"},"default_expires_in_days":{"type":"integer","title":"Default Expires In Days"},"workspaces":{"items":{"$ref":"#/components/schemas/OAuthWorkspace"},"type":"array","title":"Workspaces"}},"type":"object","required":["id","status","client","redirect_uri","redirect_host","scopes","expires_at","default_expires_in_days","workspaces"],"title":"OAuthRequestView"},"OAuthStart":{"properties":{"provider":{"type":"string","enum":["google.com","github.com"],"title":"Provider"},"verify_email":{"type":"boolean","title":"Verify Email","default":false},"invitation_token":{"anyOf":[{"type":"string","maxLength":200,"minLength":20},{"type":"null"}],"title":"Invitation Token"}},"additionalProperties":false,"type":"object","required":["provider"],"title":"OAuthStart"},"OAuthWorkspace":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"kind":{"type":"string","enum":["personal","team","academic"],"title":"Kind"},"role":{"type":"string","enum":["owner","admin","member"],"title":"Role"},"mcp_enabled":{"type":"boolean","title":"Mcp Enabled"}},"type":"object","required":["id","slug","name","kind","role","mcp_enabled"],"title":"OAuthWorkspace"},"OecdResult":{"properties":{"snapshot":{"$ref":"#/components/schemas/DataSnapshot"},"source_url":{"type":"string","title":"Source Url","default":"https://sdmx.oecd.org/public/rest/v1/data/OECD.SDD.STES,DSD_STES@DF_CLI,4.1"},"attribution":{"type":"string","title":"Attribution","default":"OECD: Composite leading indicators, monthly amplitude-adjusted CLI, OECD harmonised methodology."},"terms_url":{"type":"string","title":"Terms Url","default":"https://www.oecd.org/en/about/terms-conditions.html"},"structure_version":{"type":"string","title":"Structure Version","default":"4.1"},"response_prepared_at":{"type":"string","title":"Response Prepared At"},"structure_sha256":{"type":"string","title":"Structure Sha256"},"source_structure_json":{"type":"string","title":"Source Structure Json"},"source_response_metadata_json":{"type":"string","title":"Source Response Metadata Json"},"interpretation":{"type":"string","title":"Interpretation","default":"CLI signals qualitative changes and turning points, not the magnitude of future GDP growth."},"changes":{"type":"string","title":"Changes","default":"Selected native dimension tuples; exact numeric values and source attributes retained; rows ordered by native keys. No unit scaling, precision rounding or gap filling."},"notice":{"type":"string","title":"Notice","default":"OECD does not endorse Welt. Preserve source attribution, terms and native annotations when reusing these data."}},"additionalProperties":false,"type":"object","required":["snapshot","response_prepared_at","structure_sha256","source_structure_json","source_response_metadata_json"],"title":"OecdResult"},"OnboardingStatus":{"properties":{"account_id":{"type":"string","title":"Account Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"has_write_key":{"type":"boolean","title":"Has Write Key"},"first_prediction":{"anyOf":[{"$ref":"#/components/schemas/FirstPrediction"},{"type":"null"}]},"celebration_acknowledged":{"type":"boolean","title":"Celebration Acknowledged"}},"type":"object","required":["account_id","workspace_id","has_write_key","first_prediction","celebration_acknowledged"],"title":"OnboardingStatus"},"OnsResult":{"properties":{"snapshot":{"$ref":"#/components/schemas/DataSnapshot"},"source_url":{"type":"string","title":"Source Url","default":"https://www.ons.gov.uk/economy/inflationandpriceindices/timeseries/d7bt/mm23"},"attribution":{"type":"string","title":"Attribution","default":"Source: Office for National Statistics licensed under the Open Government Licence v.3.0."},"terms_url":{"type":"string","title":"Terms Url","default":"https://www.ons.gov.uk/help/terms-conditions"},"license_url":{"type":"string","title":"License Url","default":"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/"},"source_release_date":{"type":"string","title":"Source Release Date"},"source_metadata_json":{"type":"string","title":"Source Metadata Json"},"changes":{"type":"string","title":"Changes","default":"Selected native monthly observations; translated native month labels to YYYY-MM; retained exact numeric strings and mapped empty values to null with explicit status. No frequency aggregation, rebasing, rounding or imputation."},"notice":{"type":"string","title":"Notice","default":"ONS does not endorse Welt. Retain source attribution, licence and applicable source notices. Quarterly and annual observations are outside this profile."}},"additionalProperties":false,"type":"object","required":["snapshot","source_release_date","source_metadata_json"],"title":"OnsResult"},"OpenMeteoResult":{"properties":{"snapshot":{"$ref":"#/components/schemas/DataSnapshot"},"source_url":{"type":"string","title":"Source Url","default":"https://open-meteo.com/en/docs/historical-weather-api"},"terms_url":{"type":"string","title":"Terms Url","default":"https://open-meteo.com/en/terms"},"license_url":{"type":"string","title":"License Url","default":"https://creativecommons.org/licenses/by/4.0/"},"attribution":{"type":"string","title":"Attribution","default":"Weather data by Open-Meteo, using ERA5 reanalysis from ECMWF/Copernicus; product-specific attribution qualification pending."},"requested_model":{"type":"string","title":"Requested Model","default":"era5"},"grid_latitude":{"type":"string","title":"Grid Latitude"},"grid_longitude":{"type":"string","title":"Grid Longitude"},"grid_elevation_m":{"type":"string","title":"Grid Elevation M"},"source_metadata_json":{"type":"string","title":"Source Metadata Json"},"changes":{"type":"string","title":"Changes","default":"Selected point and daily variables; numeric JSON values encoded as exact decimal strings. No imputation, additional daily aggregation or unit conversion by Welt."},"interpretation":{"type":"string","title":"Interpretation","default":"ERA5 reanalysis, not measured station observations or forecasts. Requested coordinates identify the query; grid coordinates identify the returned model cell. UTC daily boundaries, nearest cell, elevation downscaling disabled."}},"additionalProperties":false,"type":"object","required":["snapshot","grid_latitude","grid_longitude","grid_elevation_m","source_metadata_json"],"title":"OpenMeteoResult"},"Organisation":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"country":{"type":"string","maxLength":2,"minLength":2,"title":"Country","description":"ISO 3166-1 alpha-2"},"domain":{"anyOf":[{"type":"string","maxLength":253},{"type":"null"}],"title":"Domain"},"institution":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Institution"}},"additionalProperties":false,"type":"object","required":["name","country"],"title":"Organisation"},"PasswordReset":{"properties":{"token":{"type":"string","maxLength":200,"minLength":20,"title":"Token"},"password":{"type":"string","maxLength":1024,"minLength":12,"title":"Password"}},"additionalProperties":false,"type":"object","required":["token","password"],"title":"PasswordReset"},"Plan":{"properties":{"key":{"type":"string","const":"team","title":"Key"},"name":{"type":"string","title":"Name"},"monthly_usd_cents":{"type":"integer","title":"Monthly Usd Cents"},"annual_usd_cents":{"type":"integer","title":"Annual Usd Cents"},"included_credits":{"type":"integer","title":"Included Credits","description":"Credits included per month: granted on each paid monthly invoice, and 12 times that on each paid annual invoice."},"currency":{"type":"string","title":"Currency"}},"type":"object","required":["key","name","monthly_usd_cents","annual_usd_cents","included_credits","currency"],"title":"Plan"},"PredictionCreate":{"properties":{"columns":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Columns"},"rows":{"items":{"items":{},"type":"array"},"type":"array","minItems":1,"title":"Rows"},"probabilities":{"type":"boolean","title":"Probabilities","default":false}},"additionalProperties":false,"type":"object","required":["columns","rows"],"title":"PredictionCreate"},"PredictionResult":{"properties":{"predictions":{"items":{},"type":"array","title":"Predictions"},"probabilities":{"anyOf":[{"items":{"items":{"type":"number"},"type":"array"},"type":"array"},{"type":"null"}],"title":"Probabilities"},"classes":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Classes"},"predictor_id":{"type":"string","title":"Predictor Id"},"model_id":{"type":"string","title":"Model Id"},"model_version":{"type":"string","title":"Model Version"},"operation_id":{"type":"string","title":"Operation Id"},"cold":{"type":"boolean","title":"Cold"}},"type":"object","required":["predictions","probabilities","classes","predictor_id","model_id","model_version","operation_id","cold"],"title":"PredictionResult"},"PredictorResource":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"dataset_id":{"type":"string","title":"Dataset Id"},"model_id":{"type":"string","title":"Model Id"},"model_version":{"type":"string","title":"Model Version"},"task":{"type":"string","title":"Task"},"configuration":{"type":"string","title":"Configuration"},"resolved_configuration":{"additionalProperties":true,"type":"object","title":"Resolved Configuration"},"seed":{"type":"integer","title":"Seed"},"columns":{"items":{"type":"string"},"type":"array","title":"Columns"},"types":{"items":{"type":"string"},"type":"array","title":"Types"},"classes":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Classes"},"status":{"type":"string","const":"ready","title":"Status"},"created_at":{"type":"string","title":"Created At"},"context_format":{"type":"string","title":"Context Format"}},"type":"object","required":["id","name","dataset_id","model_id","model_version","task","configuration","resolved_configuration","seed","columns","types","classes","status","created_at","context_format"],"title":"PredictorResource"},"PreviewModel":{"properties":{"model_id":{"type":"string","title":"Model Id"},"name":{"type":"string","title":"Name"},"model_version":{"type":"string","title":"Model Version"}},"type":"object","required":["model_id","name","model_version"],"title":"PreviewModel"},"PreviewProblem":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"}},"type":"object","required":["code","message"],"title":"PreviewProblem"},"PricingRate":{"properties":{"kind":{"type":"string","title":"Kind","description":"Operation kind as recorded in usage: fit, predict, batch_predict, discover, research_download; forecast on cards that price it (2026-10-v3)."},"basis":{"type":"string","enum":["per_million_tokens","per_1000_rows","per_dataset"],"title":"Basis","description":"What the rate applies to: one million tokens (rows x columns), a started block of 1,000 rows (v1 cards), or one dataset download."},"credits":{"type":"integer","title":"Credits"},"amount_usd_cents":{"type":"integer","title":"Amount Usd Cents","description":"The rate in USD cents (credits x credit unit)."},"confirmed":{"type":"boolean","title":"Confirmed","description":"False while the owner has not confirmed the price; such operations are recorded unpriced (credits null) and not charged."}},"type":"object","required":["kind","basis","credits","amount_usd_cents","confirmed"],"title":"PricingRate"},"PricingSample":{"properties":{"operation":{"type":"string","enum":["fit","predict"],"title":"Operation"},"rows":{"type":"integer","title":"Rows"},"columns":{"type":"integer","title":"Columns"},"tokens":{"type":"integer","title":"Tokens","description":"rows x columns: one token is one table cell."},"credits":{"type":"integer","title":"Credits","description":"Computed server-side from the rate card in force."},"amount_usd_cents":{"type":"integer","title":"Amount Usd Cents"}},"type":"object","required":["operation","rows","columns","tokens","credits","amount_usd_cents"],"title":"PricingSample"},"PricingSummary":{"properties":{"rate_card_version":{"type":"string","title":"Rate Card Version"},"scheme":{"type":"string","enum":["tokens","blocks"],"title":"Scheme","description":"tokens: credits = max(minimum, ceil(rows x columns x rate / 1e6)); blocks: the v1 per-1,000-rows rule."},"token_definition":{"type":"string","title":"Token Definition"},"credit_unit_usd_cents":{"type":"integer","title":"Credit Unit Usd Cents"},"currency":{"type":"string","title":"Currency"},"minimum_credits_per_operation":{"type":"integer","title":"Minimum Credits Per Operation","description":"Smallest charge for a priced fit, prediction or discovery with at least one cell (5 credits on 2026-10-v2); downloads carry their fixed price instead."},"rates":{"items":{"$ref":"#/components/schemas/PricingRate"},"type":"array","title":"Rates"},"free_grant_credits":{"type":"integer","title":"Free Grant Credits","description":"One-time grant to a personal workspace on email verification."},"free_grant_usd_cents":{"type":"integer","title":"Free Grant Usd Cents"},"packs":{"items":{"$ref":"#/components/schemas/CreditPack"},"type":"array","title":"Packs"},"plans":{"items":{"$ref":"#/components/schemas/Plan"},"type":"array","title":"Plans"},"samples":{"items":{"$ref":"#/components/schemas/PricingSample"},"type":"array","title":"Samples"},"free_grant_sample_fits":{"type":"integer","title":"Free Grant Sample Fits","description":"How many fits of the first sample table the free grant covers (computed here, not in the console)."},"download_pricing_confirmed":{"type":"boolean","title":"Download Pricing Confirmed"}},"type":"object","required":["rate_card_version","scheme","token_definition","credit_unit_usd_cents","currency","minimum_credits_per_operation","rates","free_grant_credits","free_grant_usd_cents","packs","plans","samples","free_grant_sample_fits","download_pricing_confirmed"],"title":"PricingSummary","description":"Public pricing summary (API-087, DEC-052): everything the console or the docs show\nabout prices comes from here; nothing is computed client-side except formatting cents."},"ProfileUpdate":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["name"],"title":"ProfileUpdate"},"QueryPlan":{"properties":{"contract_version":{"type":"string","const":"upstream-contract-v1","title":"Contract Version","default":"upstream-contract-v1"},"request":{"$ref":"#/components/schemas/DataQuery"},"spec":{"$ref":"#/components/schemas/DatasetSpec"},"scope_partition":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","title":"Scope Partition"},"columns":{"items":{"$ref":"#/components/schemas/Column"},"type":"array","title":"Columns"},"fingerprint":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Fingerprint"}},"additionalProperties":false,"type":"object","required":["request","spec","scope_partition","columns","fingerprint"],"title":"QueryPlan"},"RedirectResource":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"RedirectResource"},"ReportLink":{"properties":{"id":{"type":"string","title":"Id"},"evaluation_id":{"type":"string","title":"Evaluation Id"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"Only returned when the link is created."},"created_at":{"type":"string","title":"Created At"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"revoked":{"type":"boolean","title":"Revoked"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"}},"type":"object","required":["id","evaluation_id","created_at","revoked"],"title":"ReportLink"},"ReportLinkCreate":{"properties":{"expires_in_days":{"anyOf":[{"type":"integer","maximum":7.0,"minimum":1.0},{"type":"null"}],"title":"Expires In Days","description":"No expiry by default; optionally choose 1–7 days for this access link."}},"additionalProperties":false,"type":"object","title":"ReportLinkCreate"},"ResearchColumn":{"properties":{"name":{"type":"string","maxLength":2000,"title":"Name"},"dtype":{"type":"string","maxLength":500,"title":"Dtype"},"index":{"type":"integer","minimum":0.0,"title":"Index"},"canonical_name":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Canonical Name"},"role":{"anyOf":[{"type":"string","enum":["feature","target"]},{"type":"null"}],"title":"Role"},"description":{"anyOf":[{"type":"string","maxLength":300,"minLength":1},{"type":"null"}],"title":"Description"},"description_source":{"anyOf":[{"type":"string","enum":["source","generated","manual"]},{"type":"null"}],"title":"Description Source"}},"additionalProperties":false,"type":"object","required":["name","dtype","index"],"title":"ResearchColumn"},"ResearchContent":{"properties":{"version":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Version"},"sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Sha256"},"size_bytes":{"type":"integer","maximum":134217728.0,"exclusiveMinimum":0.0,"title":"Size Bytes"},"media_type":{"type":"string","enum":["application/vnd.apache.parquet","application/zip"],"title":"Media Type"},"filename":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.-]{0,159}\\.(?:parquet|zip)$","title":"Filename"}},"additionalProperties":false,"type":"object","required":["version","sha256","size_bytes","media_type","filename"],"title":"ResearchContent"},"ResearchCopyCreate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name","description":"Dataset name (stripped); default, or when blank, the display name."},"keep_excluded":{"type":"boolean","title":"Keep Excluded","description":"Keep the curated `exclude` columns (co-outcomes, leaks); by default they are removed from the copy.","default":false}},"additionalProperties":false,"type":"object","title":"ResearchCopyCreate"},"ResearchCopyInfo":{"properties":{"version":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Version","description":"The content version the copy was made from."},"sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Sha256"},"size_bytes":{"type":"integer","maximum":10485760.0,"exclusiveMinimum":0.0,"title":"Size Bytes"},"rows":{"type":"integer","exclusiveMinimum":0.0,"title":"Rows"},"rows_total":{"type":"integer","exclusiveMinimum":0.0,"title":"Rows Total"},"sampled":{"type":"boolean","title":"Sampled"}},"additionalProperties":false,"type":"object","required":["version","sha256","size_bytes","rows","rows_total","sampled"],"title":"ResearchCopyInfo","description":"The served description of a workspace copy artifact (copy-v1); its storage pin is never served."},"ResearchCorrelations":{"properties":{"columns":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":15,"minItems":3,"title":"Columns"},"matrix":{"items":{"items":{"anyOf":[{"type":"number","maximum":1.0,"minimum":-1.0},{"type":"null"}]},"type":"array"},"type":"array","maxItems":15,"minItems":3,"title":"Matrix"}},"additionalProperties":false,"type":"object","required":["columns","matrix"],"title":"ResearchCorrelations"},"ResearchCuration":{"properties":{"tier":{"type":"string","const":"curated","title":"Tier"},"rules_version":{"type":"string","pattern":"^curation-rules-v[0-9]{1,4}$","title":"Rules Version"},"question":{"type":"string","maxLength":140,"minLength":10,"title":"Question"},"task":{"type":"string","enum":["classification","regression","forecasting","causal_discovery"],"title":"Task"},"target":{"type":"string","maxLength":2000,"title":"Target"},"exclude":{"items":{"type":"string","maxLength":2000},"type":"array","maxItems":40,"title":"Exclude"},"domain":{"type":"string","enum":["healthcare","biology","ecology-environment","earth-climate","agriculture-food","finance","economics","business-marketing","social-science","politics","education","energy","engineering-physics","chemistry-materials","computing","transportation","sports-games","real-estate","demographics","signals-images","synthetic-benchmark","other"],"title":"Domain"},"skill":{"anyOf":[{"type":"number","maximum":1.0,"minimum":-1.0},{"type":"null"}],"title":"Skill"},"skill_metric":{"type":"string","enum":["balanced_accuracy_chance_adjusted","r2"],"title":"Skill Metric"},"benchmark":{"type":"boolean","title":"Benchmark"},"score":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Score"},"collections":{"items":{"type":"string","enum":["classics","benchmarks","small-data","large-tables","healthcare","finance","biology","forecasting","causal-structure"]},"type":"array","maxItems":9,"title":"Collections"},"variants":{"type":"integer","minimum":0.0,"title":"Variants"},"kinds":{"$ref":"#/components/schemas/ResearchCurationKinds"},"map":{"$ref":"#/components/schemas/ResearchCurationPoint"},"similarity_tokens":{"items":{"type":"string","pattern":"^[a-z0-9]{2,24}$"},"type":"array","maxItems":80,"title":"Similarity Tokens"},"search_text":{"type":"string","maxLength":2000,"title":"Search Text"}},"additionalProperties":false,"type":"object","required":["tier","rules_version","question","task","target","exclude","domain","skill","skill_metric","benchmark","score","collections","variants","kinds","map","similarity_tokens","search_text"],"title":"ResearchCuration","description":"API-156: the curated tier's listing fields (curation-rules-v4, map-v1); a record without one is hidden."},"ResearchCurationColumn":{"properties":{"name":{"type":"string","maxLength":2000,"title":"Name"},"kind":{"type":"string","enum":["numeric","categorical","time","other"],"title":"Kind"},"role":{"type":"string","enum":["target","feature","excluded"],"title":"Role"},"null_share":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Null Share"},"histogram":{"anyOf":[{"$ref":"#/components/schemas/ResearchHistogram"},{"type":"null"}]},"min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max"},"mean":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mean"},"top":{"anyOf":[{"items":{"prefixItems":[{"type":"string","maxLength":60},{"type":"integer","minimum":0.0}],"type":"array","maxItems":2,"minItems":2},"type":"array","maxItems":8},{"type":"null"}],"title":"Top"},"distinct":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Distinct"}},"additionalProperties":false,"type":"object","required":["name","kind","role","null_share"],"title":"ResearchCurationColumn","description":"Page data of one profiled column (enrichment-v1): a histogram with min/max/mean, or top values with a distinct count."},"ResearchCurationDetail":{"properties":{"variant_ids":{"items":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$"},"type":"array","maxItems":500,"title":"Variant Ids"},"columns":{"items":{"$ref":"#/components/schemas/ResearchCurationColumn"},"type":"array","maxItems":40,"title":"Columns"},"importance":{"items":{"$ref":"#/components/schemas/ResearchImportance"},"type":"array","maxItems":15,"title":"Importance"},"correlations":{"anyOf":[{"$ref":"#/components/schemas/ResearchCorrelations"},{"type":"null"}]},"rows_sampled":{"type":"integer","maximum":4000.0,"minimum":0.0,"title":"Rows Sampled"},"enrichment_version":{"type":"string","pattern":"^enrichment-v[0-9]{1,4}$","title":"Enrichment Version"},"copy":{"anyOf":[{"$ref":"#/components/schemas/ResearchCopyInfo"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["variant_ids","columns","importance","correlations","rows_sampled","enrichment_version","copy"],"title":"ResearchCurationDetail"},"ResearchCurationKinds":{"properties":{"numeric":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Numeric"},"categorical":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Categorical"},"time":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Time"},"other":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Other"}},"additionalProperties":false,"type":"object","required":["numeric","categorical","time","other"],"title":"ResearchCurationKinds"},"ResearchCurationPoint":{"properties":{"x":{"type":"number","maximum":1.0,"minimum":0.0,"title":"X"},"y":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Y"}},"additionalProperties":false,"type":"object","required":["x","y"],"title":"ResearchCurationPoint"},"ResearchDatasetDetail":{"properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$","title":"Id"},"name":{"type":"string","maxLength":500,"minLength":1,"title":"Name"},"source":{"type":"string","maxLength":100,"minLength":1,"title":"Source"},"rows":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Rows"},"columns":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Columns"},"license":{"type":"string","maxLength":1000,"minLength":1,"title":"License"},"availability":{"type":"string","enum":["available","blocked","metadata_only"],"title":"Availability"},"blocked_reason":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Blocked Reason"},"description":{"anyOf":[{"type":"string","maxLength":60000},{"type":"null"}],"title":"Description"},"display_name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Display Name"},"summary":{"anyOf":[{"type":"string","maxLength":600,"minLength":1},{"type":"null"}],"title":"Summary"},"tags":{"additionalProperties":{"items":{"type":"string","maxLength":60,"minLength":1},"type":"array"},"type":"object","maxProperties":8,"title":"Tags"},"usefulness":{"anyOf":[{"$ref":"#/components/schemas/ResearchUsefulness"},{"type":"null"}]},"available_copies":{"anyOf":[{"items":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$"},"type":"array","maxItems":5,"minItems":1},{"type":"null"}],"title":"Available Copies"},"curation":{"anyOf":[{"$ref":"#/components/schemas/ResearchCuration"},{"type":"null"}]},"catalogue_version":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Catalogue Version"},"schema":{"items":{"$ref":"#/components/schemas/ResearchColumn"},"type":"array","maxItems":20000,"title":"Schema"},"targets":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":100,"title":"Targets"},"splits":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":100,"title":"Splits"},"provenance":{"additionalProperties":true,"type":"object","title":"Provenance"},"license_notices":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"License Notices"},"notes":{"items":{"type":"string"},"type":"array","maxItems":50,"title":"Notes"},"content":{"anyOf":[{"$ref":"#/components/schemas/ResearchContent"},{"type":"null"}]},"source_url":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Source Url"},"added_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Added At"},"metadata":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":30,"title":"Metadata"},"preview":{"anyOf":[{"$ref":"#/components/schemas/ResearchPreview"},{"type":"null"}]},"previous_content":{"items":{"$ref":"#/components/schemas/ResearchContent"},"type":"array","maxItems":10,"title":"Previous Content"},"enrichment":{"anyOf":[{"$ref":"#/components/schemas/ResearchEnrichment"},{"type":"null"}]},"curation_detail":{"anyOf":[{"$ref":"#/components/schemas/ResearchCurationDetail"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["id","name","source","license","availability","catalogue_version","schema","targets","splits","provenance","license_notices","notes","content"],"title":"ResearchDatasetDetail"},"ResearchDatasetPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ResearchDatasetSummary"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"total":{"type":"integer","title":"Total"},"catalogue_version":{"type":"string","title":"Catalogue Version"},"facets":{"additionalProperties":{"additionalProperties":{"type":"integer"},"type":"object"},"type":"object","title":"Facets"}},"type":"object","required":["items","next_cursor","total","catalogue_version","facets"],"title":"ResearchDatasetPage"},"ResearchDatasetSummary":{"properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$","title":"Id"},"name":{"type":"string","maxLength":500,"minLength":1,"title":"Name"},"source":{"type":"string","maxLength":100,"minLength":1,"title":"Source"},"rows":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Rows"},"columns":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Columns"},"license":{"type":"string","maxLength":1000,"minLength":1,"title":"License"},"availability":{"type":"string","enum":["available","blocked","metadata_only"],"title":"Availability"},"blocked_reason":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Blocked Reason"},"description":{"anyOf":[{"type":"string","maxLength":60000},{"type":"null"}],"title":"Description"},"display_name":{"anyOf":[{"type":"string","maxLength":120,"minLength":1},{"type":"null"}],"title":"Display Name"},"summary":{"anyOf":[{"type":"string","maxLength":600,"minLength":1},{"type":"null"}],"title":"Summary"},"tags":{"additionalProperties":{"items":{"type":"string","maxLength":60,"minLength":1},"type":"array"},"type":"object","maxProperties":8,"title":"Tags"},"usefulness":{"anyOf":[{"$ref":"#/components/schemas/ResearchUsefulness"},{"type":"null"}]},"available_copies":{"anyOf":[{"items":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9_.-]{0,127}$"},"type":"array","maxItems":5,"minItems":1},{"type":"null"}],"title":"Available Copies"},"curation":{"anyOf":[{"$ref":"#/components/schemas/ResearchCuration"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["id","name","source","license","availability"],"title":"ResearchDatasetSummary"},"ResearchEnrichment":{"properties":{"model":{"type":"string","maxLength":100,"minLength":1,"title":"Model"},"prompt_version":{"type":"string","maxLength":100,"minLength":1,"title":"Prompt Version"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"input_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Input Sha256"},"fields":{"items":{"type":"string","enum":["display_name","summary","tags","keywords","features","target"]},"type":"array","maxItems":6,"title":"Fields"},"overrides":{"items":{"type":"string","enum":["display_name","summary","tags","keywords","features","target"]},"type":"array","maxItems":6,"title":"Overrides"},"caveats":{"anyOf":[{"type":"string","maxLength":1000,"minLength":1},{"type":"null"}],"title":"Caveats"}},"additionalProperties":false,"type":"object","required":["model","prompt_version","generated_at","input_sha256","fields"],"title":"ResearchEnrichment","description":"Provenance of generated/manual metadata; never a source fact."},"ResearchHistogram":{"properties":{"edges":{"items":{"type":"number"},"type":"array","maxItems":17,"minItems":17,"title":"Edges"},"counts":{"items":{"type":"integer","minimum":0.0},"type":"array","maxItems":16,"minItems":16,"title":"Counts"}},"additionalProperties":false,"type":"object","required":["edges","counts"],"title":"ResearchHistogram"},"ResearchImportance":{"properties":{"feature":{"type":"string","maxLength":2000,"title":"Feature"},"importance":{"type":"number","title":"Importance"}},"additionalProperties":false,"type":"object","required":["feature","importance"],"title":"ResearchImportance"},"ResearchMap":{"properties":{"catalogue_version":{"type":"string","title":"Catalogue Version"},"points":{"items":{"$ref":"#/components/schemas/ResearchMapPoint"},"type":"array","title":"Points"}},"type":"object","required":["catalogue_version","points"],"title":"ResearchMap"},"ResearchMapPoint":{"properties":{"id":{"type":"string","title":"Id"},"x":{"type":"number","title":"X"},"y":{"type":"number","title":"Y"},"domain":{"type":"string","title":"Domain"},"task":{"type":"string","title":"Task"},"question":{"type":"string","title":"Question"}},"type":"object","required":["id","x","y","domain","task","question"],"title":"ResearchMapPoint"},"ResearchPreview":{"properties":{"columns":{"items":{"$ref":"#/components/schemas/ResearchColumn"},"type":"array","maxItems":20,"title":"Columns"},"rows":{"items":{"items":{"anyOf":[{"type":"string","maxLength":500},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},"type":"array"},"type":"array","maxItems":5,"title":"Rows"},"canonical_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Canonical Sha256"}},"additionalProperties":false,"type":"object","required":["columns","rows","canonical_sha256"],"title":"ResearchPreview"},"ResearchSimilarCreate":{"properties":{"dataset_id":{"type":"string","maxLength":128,"minLength":1,"title":"Dataset Id","description":"A dataset of the caller's workspace."},"limit":{"type":"integer","maximum":24.0,"minimum":1.0,"title":"Limit","default":12}},"additionalProperties":false,"type":"object","required":["dataset_id"],"title":"ResearchSimilarCreate"},"ResearchSimilarItem":{"properties":{"id":{"type":"string","title":"Id"},"question":{"type":"string","title":"Question"},"display_name":{"type":"string","title":"Display Name"},"score":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Score"},"reasons":{"items":{"type":"string"},"type":"array","maxItems":4,"title":"Reasons"}},"type":"object","required":["id","question","display_name","score","reasons"],"title":"ResearchSimilarItem"},"ResearchSimilarPage":{"properties":{"dataset_id":{"type":"string","title":"Dataset Id"},"items":{"items":{"$ref":"#/components/schemas/ResearchSimilarItem"},"type":"array","title":"Items"}},"type":"object","required":["dataset_id","items"],"title":"ResearchSimilarPage"},"ResearchUsefulness":{"properties":{"kind":{"type":"string","enum":["tabular","time-series","panel","event-log","nlp","other"],"title":"Kind"},"ratings":{"$ref":"#/components/schemas/ResearchUsefulnessRatings"},"best_target":{"anyOf":[{"type":"string","maxLength":2000,"minLength":1},{"type":"null"}],"title":"Best Target"},"commentary":{"type":"string","maxLength":300,"minLength":1,"title":"Commentary"},"confidence":{"type":"string","enum":["high","medium","low"],"title":"Confidence"},"model":{"type":"string","maxLength":100,"minLength":1,"title":"Model"},"prompt_version":{"type":"string","maxLength":100,"minLength":1,"title":"Prompt Version"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"profile_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","title":"Profile Sha256"}},"additionalProperties":false,"type":"object","required":["kind","ratings","commentary","confidence","model","prompt_version","generated_at","profile_sha256"],"title":"ResearchUsefulness","description":"API-093: generated ML-usefulness assessment over a deterministic profile of the served table."},"ResearchUsefulnessRatings":{"properties":{"regression":{"type":"integer","maximum":5.0,"minimum":0.0,"title":"Regression"},"classification":{"type":"integer","maximum":5.0,"minimum":0.0,"title":"Classification"},"causal_discovery":{"type":"integer","maximum":5.0,"minimum":0.0,"title":"Causal Discovery"},"forecasting":{"type":"integer","maximum":5.0,"minimum":0.0,"title":"Forecasting"}},"additionalProperties":false,"type":"object","required":["regression","classification","causal_discovery","forecasting"],"title":"ResearchUsefulnessRatings","description":"0-5 stars per task (5 = well suited); generated, may contain errors."},"ResourceList_BacktestResource_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BacktestResource"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"ResourceList[BacktestResource]"},"ResourceList_DatasetResource_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/DatasetResource"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"ResourceList[DatasetResource]"},"ResourceList_EvaluationResource_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/EvaluationResource"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"ResourceList[EvaluationResource]"},"ResourceList_InvitationResource_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/InvitationResource"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"ResourceList[InvitationResource]"},"ResourceList_JobResource_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/JobResource"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"ResourceList[JobResource]"},"ResourceList_KeyResource_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/KeyResource"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"ResourceList[KeyResource]"},"ResourceList_MemberResource_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/MemberResource"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"ResourceList[MemberResource]"},"ResourceList_ModelResource_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ModelResource"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"ResourceList[ModelResource]"},"ResourceList_PredictorResource_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PredictorResource"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"ResourceList[PredictorResource]"},"ResourceList_ReportLink_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ReportLink"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"ResourceList[ReportLink]"},"ResourceList_UsageResource_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/UsageResource"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"ResourceList[UsageResource]"},"ResourceList_WorkspaceSummary_":{"properties":{"items":{"items":{"$ref":"#/components/schemas/WorkspaceSummary"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"ResourceList[WorkspaceSummary]"},"ResultLink":{"properties":{"url":{"type":"string","title":"Url"},"expires_at":{"type":"string","title":"Expires At"}},"type":"object","required":["url","expires_at"],"title":"ResultLink"},"ResultPreview":{"properties":{"expires_at":{"type":"null","title":"Expires At"},"retention":{"type":"string","const":"until_deleted","title":"Retention","default":"until_deleted"},"id":{"type":"string","title":"Id"},"snapshot_id":{"type":"string","title":"Snapshot Id"},"source_id":{"type":"string","title":"Source Id"},"row_count":{"type":"integer","title":"Row Count"},"columns":{"items":{"$ref":"#/components/schemas/Column"},"type":"array","title":"Columns"},"rows":{"items":{"items":{"anyOf":[{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"string"},{"type":"null"}]},"type":"array"},"type":"array","maxItems":100,"title":"Rows"},"preview_complete":{"type":"boolean","title":"Preview Complete"},"receipt":{"$ref":"#/components/schemas/RetrievalReceipt"},"provenance":{"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"string"},{"type":"null"}]},"type":"object","title":"Provenance"}},"additionalProperties":false,"type":"object","required":["id","snapshot_id","source_id","row_count","columns","rows","preview_complete","receipt","provenance"],"title":"ResultPreview"},"ResultResource":{"properties":{"id":{"type":"string","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"dataset_id":{"type":"string","title":"Dataset Id"},"source_id":{"type":"string","title":"Source Id"},"snapshot_id":{"type":"string","title":"Snapshot Id"},"artifact_sha256":{"type":"string","title":"Artifact Sha256"},"artifact_bytes":{"type":"integer","title":"Artifact Bytes"},"rows":{"type":"integer","title":"Rows"},"expires_at":{"type":"null","title":"Expires At"},"retention":{"type":"string","const":"until_deleted","title":"Retention","default":"until_deleted"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"}},"additionalProperties":false,"type":"object","required":["id","created_at","dataset_id","source_id","snapshot_id","artifact_sha256","artifact_bytes","rows","revoked_at"],"title":"ResultResource"},"RetrievalReceipt":{"properties":{"started_at":{"type":"string","title":"Started At"},"fetched_at":{"type":"string","title":"Fetched At"},"checked_at":{"type":"string","title":"Checked At"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"publication_time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publication Time"},"upstream_version":{"anyOf":[{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$"},{"type":"null"}],"title":"Upstream Version"},"as_of":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"As Of"},"consistency":{"type":"string","enum":["pinned","checked","best_effort"],"title":"Consistency","default":"best_effort"},"consistency_evidence":{"anyOf":[{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$"},{"type":"null"}],"title":"Consistency Evidence"},"historical_evidence":{"anyOf":[{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$"},{"type":"null"}],"title":"Historical Evidence"},"complete":{"type":"boolean","title":"Complete"},"pages":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Pages"},"elapsed_seconds":{"type":"number","maximum":120.0,"minimum":0.0,"title":"Elapsed Seconds"}},"additionalProperties":false,"type":"object","required":["started_at","fetched_at","checked_at","expires_at","complete","pages","elapsed_seconds"],"title":"RetrievalReceipt"},"RetrievalStatus":{"properties":{"id":{"type":"string","title":"Id"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"status":{"type":"string","enum":["queued","running","succeeded","failed","cancelled"],"title":"Status"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"result_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Id"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"}},"additionalProperties":false,"type":"object","required":["id","dataset_id","status","created_at","updated_at","result_id","error_code"],"title":"RetrievalStatus"},"Selection":{"properties":{"column":{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$","title":"Column"},"operator":{"type":"string","enum":["eq","in","gte","lte"],"title":"Operator"},"values":{"items":{"anyOf":[{"type":"boolean"},{"type":"integer"},{"type":"number"},{"type":"string"},{"type":"null"}]},"type":"array","maxItems":100,"minItems":1,"title":"Values"}},"additionalProperties":false,"type":"object","required":["column","operator","values"],"title":"Selection"},"ServiceStatus":{"properties":{"lanes":{"items":{"$ref":"#/components/schemas/LaneStatus"},"type":"array","title":"Lanes"},"thresholds":{"additionalProperties":{"type":"integer"},"type":"object","title":"Thresholds"}},"type":"object","required":["lanes","thresholds"],"title":"ServiceStatus"},"SessionResource":{"properties":{"user":{"$ref":"#/components/schemas/UserResource"},"workspace":{"$ref":"#/components/schemas/WorkspaceResource"},"workspaces":{"items":{"$ref":"#/components/schemas/WorkspaceResource"},"type":"array","title":"Workspaces"},"csrf_token":{"type":"string","title":"Csrf Token"},"admin":{"type":"boolean","title":"Admin"}},"type":"object","required":["user","workspace","workspaces","csrf_token","admin"],"title":"SessionResource"},"SignIn":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"password":{"type":"string","maxLength":1024,"minLength":1,"title":"Password"}},"additionalProperties":false,"type":"object","required":["email","password"],"title":"SignIn"},"SignUp":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"password":{"type":"string","maxLength":1024,"minLength":12,"title":"Password"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"}},"additionalProperties":false,"type":"object","required":["email","password","name"],"title":"SignUp"},"SkippedModel":{"properties":{"model_id":{"type":"string","title":"Model Id"},"name":{"type":"string","title":"Name"},"reason":{"type":"string","title":"Reason"},"message":{"type":"string","title":"Message"}},"type":"object","required":["model_id","name","reason","message"],"title":"SkippedModel"},"SourceConnection":{"properties":{"id":{"type":"string","title":"Id"},"source_id":{"type":"string","enum":["fred","census","open_meteo","eia","comtrade"],"title":"Source Id"},"version":{"type":"integer","title":"Version"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At"}},"additionalProperties":false,"type":"object","required":["id","source_id","version","created_at","updated_at","revoked_at"],"title":"SourceConnection"},"SourceConnectionInput":{"properties":{"api_key":{"type":"string","maxLength":128,"minLength":1,"format":"password","title":"Api Key","writeOnly":true}},"additionalProperties":false,"type":"object","required":["api_key"],"title":"SourceConnectionInput"},"SourcePolicy":{"properties":{"status":{"type":"string","enum":["pending","qualified"],"title":"Status","default":"pending"},"evidence":{"anyOf":[{"type":"string","maxLength":200,"minLength":1,"pattern":"^\\S(?:.*\\S)?$"},{"type":"null"}],"title":"Evidence"},"allow_retrieve":{"type":"boolean","title":"Allow Retrieve","default":false},"allow_export":{"type":"boolean","title":"Allow Export","default":false},"allow_retain":{"type":"boolean","title":"Allow Retain","default":false}},"additionalProperties":false,"type":"object","title":"SourcePolicy","description":"Operator-recorded dataset/access-tier decision, not user-provided permission."},"SpendControlsPatch":{"properties":{"spend_cap_credits":{"anyOf":[{"type":"integer","maximum":1000000000.0,"minimum":0.0},{"type":"null"}],"title":"Spend Cap Credits"},"alert_threshold_credits":{"anyOf":[{"type":"integer","maximum":1000000000.0,"minimum":0.0},{"type":"null"}],"title":"Alert Threshold Credits"}},"additionalProperties":false,"type":"object","title":"SpendControlsPatch","description":"Absent fields are left unchanged; an explicit null clears the control."},"SubscribeCreate":{"properties":{"plan":{"type":"string","const":"team","title":"Plan"},"interval":{"type":"string","enum":["month","year"],"title":"Interval"}},"additionalProperties":false,"type":"object","required":["plan","interval"],"title":"SubscribeCreate"},"Table":{"properties":{"columns":{"items":{"type":"string"},"type":"array","minItems":1,"title":"Columns"},"rows":{"items":{"items":{},"type":"array"},"type":"array","minItems":1,"title":"Rows"}},"additionalProperties":false,"type":"object","required":["columns","rows"],"title":"Table"},"TableSource":{"properties":{"table":{"$ref":"#/components/schemas/Table"}},"additionalProperties":false,"type":"object","required":["table"],"title":"TableSource","description":"A small inline table: named columns and rows of JSON scalars (null for missing)."},"TabularRun":{"properties":{"task":{"type":"string","enum":["classification","regression"],"title":"Task"},"model_id":{"type":"string","maxLength":128,"minLength":1,"title":"Model Id"},"support":{"$ref":"#/components/schemas/Table"},"target":{"type":"string","maxLength":128,"minLength":1,"title":"Target"},"query":{"$ref":"#/components/schemas/Table"},"probabilities":{"type":"boolean","title":"Probabilities","default":false},"seed":{"type":"integer","maximum":4294967295.0,"minimum":0.0,"title":"Seed","default":42}},"additionalProperties":false,"type":"object","required":["task","model_id","support","target","query"],"title":"TabularRun"},"TabularRunResult":{"properties":{"task":{"type":"string","enum":["classification","regression"],"title":"Task"},"model_id":{"type":"string","title":"Model Id"},"model_version":{"type":"string","title":"Model Version"},"configuration":{"type":"string","title":"Configuration"},"predictions":{"items":{"anyOf":[{"type":"number"},{"type":"integer"}]},"type":"array","maxItems":100,"minItems":1,"title":"Predictions"},"probabilities":{"anyOf":[{"items":{"items":{"anyOf":[{"type":"number"},{"type":"integer"}]},"type":"array"},"type":"array"},{"type":"null"}],"title":"Probabilities"},"classes":{"anyOf":[{"items":{"anyOf":[{"type":"number"},{"type":"integer"}]},"type":"array"},{"type":"null"}],"title":"Classes"}},"additionalProperties":false,"type":"object","required":["task","model_id","model_version","configuration","predictions","probabilities","classes"],"title":"TabularRunResult"},"TokenInput":{"properties":{"token":{"type":"string","maxLength":200,"minLength":20,"title":"Token"}},"additionalProperties":false,"type":"object","required":["token"],"title":"TokenInput"},"TryoutCreate":{"properties":{"csv":{"type":"string","maxLength":5242880,"minLength":1,"title":"Csv"},"target":{"type":"string","maxLength":200,"minLength":1,"title":"Target"},"name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Name"}},"additionalProperties":false,"type":"object","required":["csv","target"],"title":"TryoutCreate"},"TryoutError":{"properties":{"code":{"type":"string","title":"Code"},"message":{"type":"string","title":"Message"}},"type":"object","required":["code","message"],"title":"TryoutError"},"TryoutQuota":{"properties":{"limit":{"type":"integer","title":"Limit"},"used":{"type":"integer","title":"Used"},"remaining":{"type":"integer","title":"Remaining"}},"type":"object","required":["limit","used","remaining"],"title":"TryoutQuota"},"TryoutResource":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","enum":["queued","running","predicting","succeeded","failed"],"title":"Status"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"},"task":{"type":"string","enum":["classification","regression"],"title":"Task"},"target":{"type":"string","title":"Target"},"columns":{"items":{"type":"string"},"type":"array","title":"Columns"},"training_rows":{"type":"integer","title":"Training Rows"},"heldout_rows":{"type":"integer","title":"Heldout Rows"},"unknown_rows":{"type":"integer","title":"Unknown Rows"},"model_id":{"type":"string","title":"Model Id"},"model_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Version"},"runs_remaining":{"type":"integer","title":"Runs Remaining"},"result":{"anyOf":[{"$ref":"#/components/schemas/TryoutResult"},{"type":"null"}]},"error":{"anyOf":[{"$ref":"#/components/schemas/TryoutError"},{"type":"null"}]}},"type":"object","required":["id","status","task","target","columns","training_rows","heldout_rows","unknown_rows","model_id","runs_remaining"],"title":"TryoutResource"},"TryoutResult":{"properties":{"metrics":{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"null"}]},"type":"object","title":"Metrics"},"rows":{"items":{"$ref":"#/components/schemas/TryoutRow"},"type":"array","title":"Rows"},"classes":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Classes"},"positive":{"anyOf":[{},{"type":"null"}],"title":"Positive"},"seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Seconds"}},"type":"object","required":["metrics","rows"],"title":"TryoutResult"},"TryoutRow":{"properties":{"values":{"items":{},"type":"array","title":"Values"},"truth":{"anyOf":[{},{"type":"null"}],"title":"Truth"},"predicted":{"title":"Predicted"},"probability":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Probability"}},"type":"object","required":["values","predicted"],"title":"TryoutRow"},"UnivariateSeries":{"properties":{"values":{"items":{"anyOf":[{"type":"number"},{"type":"integer"}]},"type":"array","maxItems":512,"minItems":16,"title":"Values"},"start":{"type":"string","format":"date-time","title":"Start"},"frequency_seconds":{"type":"integer","maximum":31536000.0,"minimum":1.0,"title":"Frequency Seconds"},"timestamps":{"anyOf":[{"items":{"type":"string","format":"date-time"},"type":"array"},{"type":"null"}],"title":"Timestamps"}},"additionalProperties":false,"type":"object","required":["values","start","frequency_seconds"],"title":"UnivariateSeries"},"UploadCreate":{"properties":{"format":{"type":"string","enum":["csv","parquet"],"title":"Format"},"size_bytes":{"type":"integer","exclusiveMinimum":0.0,"title":"Size Bytes"},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$","title":"Sha256"},"target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target"},"schema":{"anyOf":[{"$ref":"#/components/schemas/FileSchema"},{"type":"null"}]},"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"}},"additionalProperties":false,"type":"object","required":["format","size_bytes","sha256"],"title":"UploadCreate"},"UploadLink":{"properties":{"url":{"type":"string","title":"Url"},"method":{"type":"string","const":"PUT","title":"Method"},"expires_at":{"type":"string","title":"Expires At"},"max_bytes":{"type":"integer","title":"Max Bytes"},"format":{"type":"string","enum":["csv","parquet"],"title":"Format"}},"type":"object","required":["url","method","expires_at","max_bytes","format"],"title":"UploadLink"},"UploadLinkCreate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target"},"format":{"type":"string","enum":["csv","parquet"],"title":"Format","default":"csv"}},"additionalProperties":false,"type":"object","title":"UploadLinkCreate"},"UploadResource":{"properties":{"id":{"type":"string","title":"Id"},"workspace_id":{"type":"string","title":"Workspace Id"},"status":{"type":"string","enum":["uploading","validating","complete","failed","expired"],"title":"Status"},"received_indices":{"items":{"type":"integer"},"type":"array","title":"Received Indices"},"chunk_bytes":{"type":"integer","title":"Chunk Bytes"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expires At"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"format":{"type":"string","enum":["csv","parquet"],"title":"Format"},"size_bytes":{"type":"integer","title":"Size Bytes"},"sha256":{"type":"string","title":"Sha256"},"target":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target"},"schema":{"anyOf":[{"$ref":"#/components/schemas/FileSchema"},{"type":"null"}]}},"type":"object","required":["id","workspace_id","status","received_indices","chunk_bytes","dataset_id","format","size_bytes","sha256","target","schema"],"title":"UploadResource"},"UpstreamDatasetOrigin":{"properties":{"kind":{"type":"string","const":"upstream","title":"Kind"},"result_id":{"type":"string","title":"Result Id"},"source_id":{"type":"string","title":"Source Id"},"dataset_id":{"type":"string","title":"Dataset Id"},"snapshot_id":{"type":"string","title":"Snapshot Id"},"source_content_sha256":{"type":"string","title":"Source Content Sha256"},"materialized_content_sha256":{"type":"string","title":"Materialized Content Sha256"},"decimal_encoding":{"type":"string","enum":["string","float64"],"title":"Decimal Encoding"},"materialization_evidence":{"type":"string","title":"Materialization Evidence"},"manifest":{"additionalProperties":true,"type":"object","title":"Manifest","description":"Original provider provenance and snapshot contract, excluding rows. Includes source expiry, which does not expire this independent modelling copy."}},"type":"object","required":["kind","result_id","source_id","dataset_id","snapshot_id","source_content_sha256","materialized_content_sha256","decimal_encoding","materialization_evidence","manifest"],"title":"UpstreamDatasetOrigin"},"UsageResource":{"properties":{"id":{"type":"string","title":"Id"},"operation_id":{"type":"string","title":"Operation Id"},"kind":{"type":"string","title":"Kind"},"model_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Id"},"model_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Version"},"task":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task"},"configuration":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Configuration"},"resolved_configuration":{"additionalProperties":true,"type":"object","title":"Resolved Configuration"},"device":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device"},"predictor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Predictor Id"},"dataset_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Id"},"status":{"type":"string","title":"Status"},"rows":{"type":"integer","title":"Rows"},"columns":{"type":"integer","title":"Columns"},"attempt":{"type":"integer","title":"Attempt"},"duration_ms":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Ms"},"created_at":{"type":"string","title":"Created At"},"credits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Credits"},"rate_card_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rate Card Version"}},"type":"object","required":["id","operation_id","kind","model_id","model_version","configuration","resolved_configuration","device","predictor_id","dataset_id","status","rows","columns","attempt","duration_ms","created_at"],"title":"UsageResource"},"UserResource":{"properties":{"id":{"type":"string","title":"Id"},"email":{"type":"string","title":"Email"},"name":{"type":"string","title":"Name"},"verified":{"type":"boolean","title":"Verified"}},"type":"object","required":["id","email","name","verified"],"title":"UserResource"},"VerificationInput":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"password":{"anyOf":[{"type":"string","maxLength":1024,"minLength":1},{"type":"null"}],"title":"Password"}},"additionalProperties":false,"type":"object","required":["email"],"title":"VerificationInput"},"WebhookAck":{"properties":{"received":{"type":"boolean","title":"Received"},"duplicate":{"type":"boolean","title":"Duplicate"},"outcome":{"type":"string","title":"Outcome"}},"type":"object","required":["received","duplicate","outcome"],"title":"WebhookAck"},"WorkspaceCreate":{"properties":{"kind":{"type":"string","enum":["team","academic"],"title":"Kind"},"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"slug":{"anyOf":[{"type":"string","pattern":"^[a-z0-9](?:[a-z0-9-]{1,38}[a-z0-9])?$"},{"type":"null"}],"title":"Slug"},"organisation":{"$ref":"#/components/schemas/Organisation"},"billing_email":{"anyOf":[{"type":"string","maxLength":254,"minLength":3},{"type":"null"}],"title":"Billing Email"}},"additionalProperties":false,"type":"object","required":["kind","name","organisation"],"title":"WorkspaceCreate"},"WorkspaceDetail":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"kind":{"type":"string","enum":["personal","team","academic"],"title":"Kind"},"role":{"type":"string","enum":["owner","admin","member"],"title":"Role"},"status":{"type":"string","enum":["active","suspended","past_due"],"title":"Status"},"organisation":{"anyOf":[{"$ref":"#/components/schemas/Organisation"},{"type":"null"}]},"billing_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Email"},"region":{"type":"string","title":"Region"},"created_at":{"type":"string","title":"Created At"},"created_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By"},"academic_verified":{"type":"boolean","title":"Academic Verified"}},"type":"object","required":["id","slug","name","kind","role","status","organisation","billing_email","region","created_at","created_by","academic_verified"],"title":"WorkspaceDetail"},"WorkspacePatch":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Name"},"organisation":{"anyOf":[{"$ref":"#/components/schemas/Organisation"},{"type":"null"}]},"billing_email":{"anyOf":[{"type":"string","maxLength":254,"minLength":3},{"type":"null"}],"title":"Billing Email"}},"additionalProperties":false,"type":"object","title":"WorkspacePatch"},"WorkspaceResource":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"kind":{"type":"string","enum":["personal","team","academic"],"title":"Kind"},"role":{"type":"string","enum":["owner","admin","member"],"title":"Role"},"status":{"type":"string","enum":["active","suspended","past_due"],"title":"Status"}},"type":"object","required":["id","slug","name","kind","role","status"],"title":"WorkspaceResource"},"WorkspaceSelect":{"properties":{"workspace_id":{"type":"string","maxLength":80,"minLength":1,"title":"Workspace Id"}},"additionalProperties":false,"type":"object","required":["workspace_id"],"title":"WorkspaceSelect"},"WorkspaceSummary":{"properties":{"id":{"type":"string","title":"Id"},"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"kind":{"type":"string","enum":["personal","team","academic"],"title":"Kind"},"role":{"type":"string","enum":["owner","admin","member"],"title":"Role"},"status":{"type":"string","enum":["active","suspended","past_due"],"title":"Status"}},"type":"object","required":["id","slug","name","kind","role","status"],"title":"WorkspaceSummary"},"WorldBankResult":{"properties":{"snapshot":{"$ref":"#/components/schemas/DataSnapshot"},"source_url":{"type":"string","title":"Source Url"},"attribution":{"type":"string","title":"Attribution"},"source_database":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Database"},"upstream_last_updated":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upstream Last Updated"},"includes_aggregate_economies":{"type":"boolean","title":"Includes Aggregate Economies","default":true},"source_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Note"},"source_organization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Organization"},"metadata_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Metadata Sha256"},"terms_url":{"type":"string","title":"Terms Url","default":"https://www.worldbank.org/ext/en/legal/terms-conditions/datasets"},"license_url":{"type":"string","title":"License Url","default":"https://creativecommons.org/licenses/by/4.0/"},"license_note":{"type":"string","title":"License Note","default":"CC BY 4.0 with World Bank additional terms; subject to dataset/indicator metadata exceptions and qualification."},"changes":{"type":"string","title":"Changes","default":"Selected and normalized into typed rows; missing values represented as null. Native decimal values and period labels preserved."},"notice":{"type":"string","title":"Notice","default":"The World Bank and its data providers do not endorse Welt or its use of these data. Preserve source attribution and the linked dataset terms when sharing."}},"additionalProperties":false,"type":"object","required":["snapshot","source_url","attribution"],"title":"WorldBankResult"}},"securitySchemes":{"APIKeyCookie":{"type":"apiKey","in":"cookie","name":"__Host-welt_session"},"HTTPBearer":{"type":"http","scheme":"bearer"}}}}