{"components":{"responses":{"emptyResponse":{"description":"Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is\ntypically 201."}},"schemas":{"AdminUpdateIdentityBody":{"properties":{"credentials":{"$ref":"#/components/schemas/adminIdentityImportCredentials"},"metadata_admin":{"description":"Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/`."},"metadata_public":{"description":"Store metadata about the identity which the identity itself can see when calling for example the\nsession endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field."},"schema_id":{"description":"SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set\nwill update the Identity's SchemaID.","type":"string"},"state":{"$ref":"#/components/schemas/identityState"},"traits":{"description":"Traits represent an identity's traits. The identity is able to create, modify, and delete traits\nin a self-service manner. The input will always be validated against the JSON Schema defined\nin `schema_id`.","type":"object"}},"required":["schema_id","traits","state"],"type":"object"},"CreateSubscriptionPayload":{"properties":{"plan_or_price":{"type":"string"},"provision_first_project":{"$ref":"#/components/schemas/UUID"},"return_to":{"type":"string"}},"required":["plan_or_price","provision_first_project"],"type":"object"},"CustomHostnameStatus":{"description":"CustomHostnameStatus is the enumeration of valid state values in the CustomHostnameSSL","type":"string"},"Duration":{"description":"A Duration represents the elapsed time between two instants\nas an int64 nanosecond count. The representation limits the\nlargest representable duration to approximately 290 years.","format":"int64","type":"integer"},"ID":{"format":"int64","type":"integer"},"InternalRelationTuple":{"properties":{"namespace":{"description":"Namespace of the Relation Tuple","type":"string"},"object":{"description":"Object of the Relation Tuple","type":"string"},"relation":{"description":"Relation of the Relation Tuple","type":"string"},"subject_id":{"description":"SubjectID of the Relation Tuple\n\nEither SubjectSet or SubjectID are required.","type":"string"},"subject_set":{"$ref":"#/components/schemas/SubjectSet"}},"required":["namespace","object","relation"],"type":"object"},"InvitePayload":{"properties":{"invitee_email":{"type":"string"}},"type":"object"},"JSONRawMessage":{"title":"JSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger.","type":"object"},"KetoNamespace":{"properties":{"id":{"format":"int64","type":"integer"},"name":{"type":"string"}},"type":"object"},"KetoNamespaces":{"items":{"$ref":"#/components/schemas/KetoNamespace"},"type":"array"},"NullBool":{"nullable":true,"type":"boolean"},"NullInt":{"nullable":true,"type":"integer"},"NullPlan":{"description":"\nunknown Unknown\nfree Free\nstart_up_monthly StartUpMonthly\nstart_up_yearly StartUpYearly\ncustom Custom","enum":["unknown","free","start_up_monthly","start_up_yearly","custom"],"type":"string","x-go-enum-desc":"unknown Unknown\nfree Free\nstart_up_monthly StartUpMonthly\nstart_up_yearly StartUpYearly\ncustom Custom"},"NullString":{"nullable":true,"type":"string"},"NullTime":{"format":"date-time","nullable":true,"type":"string"},"NullUUID":{"format":"uuid4","nullable":true,"type":"string"},"PatchDelta":{"properties":{"action":{"enum":["insert","delete"],"type":"string"},"relation_tuple":{"$ref":"#/components/schemas/InternalRelationTuple"}},"type":"object"},"QuotaCustomDomains":{"properties":{"available_domains":{"format":"int64","type":"integer"},"can_use":{"type":"boolean"},"used_domains":{"format":"int64","type":"integer"}},"type":"object"},"QuotaProjectMemberSeats":{"properties":{"project_id":{"$ref":"#/components/schemas/UUID"},"remaining_seats":{"format":"int64","type":"integer"},"total_seats":{"format":"int64","type":"integer"}},"type":"object"},"RecoveryAddress":{"properties":{"created_at":{"description":"CreatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"updated_at":{"description":"UpdatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"value":{"type":"string"},"via":{"$ref":"#/components/schemas/RecoveryAddressType"}},"required":["id","value","via"],"type":"object"},"RecoveryAddressType":{"type":"string"},"RelationQuery":{"properties":{"namespace":{"description":"Namespace of the Relation Tuple","type":"string"},"object":{"description":"Object of the Relation Tuple","type":"string"},"relation":{"description":"Relation of the Relation Tuple","type":"string"},"subject_id":{"description":"SubjectID of the Relation Tuple\n\nEither SubjectSet or SubjectID can be provided.","type":"string"},"subject_set":{"$ref":"#/components/schemas/SubjectSet"}},"type":"object"},"String":{"$ref":"#/components/schemas/NullString"},"StringSliceJSONFormat":{"items":{"type":"string"},"title":"StringSliceJSONFormat represents []string{} which is encoded to/from JSON for SQL storage.","type":"array"},"SubjectSet":{"properties":{"namespace":{"description":"Namespace of the Subject Set","type":"string"},"object":{"description":"Object of the Subject Set","type":"string"},"relation":{"description":"Relation of the Subject Set","type":"string"}},"required":["namespace","object","relation"],"type":"object"},"SubscriptionStatus":{"description":"For `collection_method=charge_automatically` a subscription moves into `incomplete` if the initial payment attempt fails. A subscription in this state can only have metadata and default_source updated. Once the first invoice is paid, the subscription moves into an `active` state. If the first invoice is not paid within 23 hours, the subscription transitions to `incomplete_expired`. This is a terminal state, the open invoice will be voided and no further invoices will be generated.\n\nA subscription that is currently in a trial period is `trialing` and moves to `active` when the trial period is over.\n\nIf subscription `collection_method=charge_automatically` it becomes `past_due` when payment to renew it fails and `canceled` or `unpaid` (depending on your subscriptions settings) when Stripe has exhausted all payment retry attempts.\n\nIf subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices.","title":"Possible values are `incomplete`, `incomplete_expired`, `trialing`, `active`, `past_due`, `canceled`, or `unpaid`.","type":"string"},"Time":{"format":"date-time","type":"string"},"UUID":{"format":"uuid4","type":"string"},"UpdateSubscriptionPayload":{"properties":{"plan_or_price":{"type":"string"},"return_to":{"type":"string"}},"required":["plan_or_price"],"type":"object"},"Warning":{"properties":{"code":{"format":"int64","type":"integer"},"message":{"type":"string"}},"type":"object"},"activeProject":{"description":"The Active Project ID","properties":{"project_id":{"description":"The Active Project ID\n\nformat: uuid","type":"string"}},"type":"object"},"adminCreateIdentityBody":{"properties":{"credentials":{"$ref":"#/components/schemas/adminIdentityImportCredentials"},"metadata_admin":{"description":"Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/`."},"metadata_public":{"description":"Store metadata about the identity which the identity itself can see when calling for example the\nsession endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field."},"recovery_addresses":{"description":"RecoveryAddresses contains all the addresses that can be used to recover an identity.\n\nUse this structure to import recovery addresses for an identity. Please keep in mind\nthat the address needs to be represented in the Identity Schema or this field will be overwritten\non the next identity update.","items":{"$ref":"#/components/schemas/RecoveryAddress"},"type":"array"},"schema_id":{"description":"SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.","type":"string"},"state":{"$ref":"#/components/schemas/identityState"},"traits":{"description":"Traits represent an identity's traits. The identity is able to create, modify, and delete traits\nin a self-service manner. The input will always be validated against the JSON Schema defined\nin `schema_url`.","type":"object"},"verifiable_addresses":{"description":"VerifiableAddresses contains all the addresses that can be verified by the user.\n\nUse this structure to import verified addresses for an identity. Please keep in mind\nthat the address needs to be represented in the Identity Schema or this field will be overwritten\non the next identity update.","items":{"$ref":"#/components/schemas/verifiableIdentityAddress"},"type":"array"}},"required":["schema_id","traits"],"type":"object"},"adminCreateIdentityImportCredentialsOidc":{"properties":{"config":{"$ref":"#/components/schemas/adminCreateIdentityImportCredentialsOidcConfig"}},"type":"object"},"adminCreateIdentityImportCredentialsOidcConfig":{"properties":{"config":{"$ref":"#/components/schemas/adminCreateIdentityImportCredentialsPasswordConfig"},"providers":{"description":"A list of OpenID Connect Providers","items":{"$ref":"#/components/schemas/adminCreateIdentityImportCredentialsOidcProvider"},"type":"array"}},"type":"object"},"adminCreateIdentityImportCredentialsOidcProvider":{"properties":{"provider":{"description":"The OpenID Connect provider to link the subject to. Usually something like `google` or `github`.","type":"string"},"subject":{"description":"The subject (`sub`) of the OpenID Connect connection. Usually the `sub` field of the ID Token.","type":"string"}},"required":["subject","provider"],"type":"object"},"adminCreateIdentityImportCredentialsPassword":{"properties":{"config":{"$ref":"#/components/schemas/adminCreateIdentityImportCredentialsPasswordConfig"}},"type":"object"},"adminCreateIdentityImportCredentialsPasswordConfig":{"properties":{"hashed_password":{"description":"The hashed password in [PHC format]( https://www.ory.sh/docs/kratos/concepts/credentials/username-email-password#hashed-password-format)","type":"string"},"password":{"description":"The password in plain text if no hash is available.","type":"string"}},"type":"object"},"adminCreateSelfServiceRecoveryLinkBody":{"properties":{"expires_in":{"description":"Link Expires In\n\nThe recovery link will expire at that point in time. Defaults to the configuration value of\n`selfservice.flows.recovery.request_lifespan`.","pattern":"^[0-9]+(ns|us|ms|s|m|h)$","type":"string"},"identity_id":{"$ref":"#/components/schemas/UUID"}},"required":["identity_id"],"type":"object"},"adminIdentityImportCredentials":{"properties":{"oidc":{"$ref":"#/components/schemas/adminCreateIdentityImportCredentialsOidc"},"password":{"$ref":"#/components/schemas/adminCreateIdentityImportCredentialsPassword"}},"type":"object"},"apiToken":{"properties":{"id":{"$ref":"#/components/schemas/UUID"},"name":{"description":"The Token's Name\n\nSet this to help you remember, for example, where you use the token.","type":"string"},"owner_id":{"$ref":"#/components/schemas/UUID"},"project_id":{"$ref":"#/components/schemas/UUID"},"value":{"description":"The token's value","readOnly":true,"type":"string"}},"required":["id","name","owner_id"],"type":"object"},"apiTokens":{"items":{"$ref":"#/components/schemas/apiToken"},"type":"array"},"authenticatorAssuranceLevel":{"description":"The authenticator assurance level can be one of \"aal1\", \"aal2\", or \"aal3\". A higher number means that it is harder\nfor an attacker to compromise the account.\n\nGenerally, \"aal1\" implies that one authentication factor was used while AAL2 implies that two factors (e.g.\npassword + TOTP) have been used.\n\nTo learn more about these levels please head over to: https://www.ory.sh/kratos/docs/concepts/credentials","enum":["aal0","aal1","aal2","aal3"],"title":"Authenticator Assurance Level (AAL)","type":"string"},"cloudAccount":{"properties":{"email":{"type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"name":{"type":"string"}},"type":"object"},"cnameSettings":{"properties":{"cookie_domain":{"type":"string"},"cors_allowed_origins":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"cors_enabled":{"type":"boolean"},"created_at":{"format":"date-time","type":"string"},"hostname":{"type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"updated_at":{"format":"date-time","type":"string"},"verification_errors":{"items":{"type":"string"},"type":"array"},"verification_status":{"$ref":"#/components/schemas/CustomHostnameStatus"}},"type":"object"},"createCustomHostnameBody":{"properties":{"cookie_domain":{"description":"The domain where cookies will be set. Has to be a parent domain of the custom hostname to work.","type":"string"},"cors_allowed_origins":{"description":"CORS Allowed origins for the custom hostname.","items":{"type":"string"},"type":"array"},"cors_enabled":{"description":"CORS Enabled for the custom hostname.","type":"boolean"},"hostname":{"description":"The custom hostname where the API will be exposed.","type":"string"}},"type":"object"},"createProjectBody":{"properties":{"name":{"description":"The name of the project to be created","type":"string"}},"required":["name"],"type":"object"},"errorAuthenticatorAssuranceLevelNotSatisfied":{"properties":{"code":{"description":"The status code","example":404,"format":"int64","type":"integer"},"debug":{"description":"Debug information\n\nThis field is often not exposed to protect against leaking\nsensitive information.","example":"SQL field \"foo\" is not a bool.","type":"string"},"details":{"additionalProperties":true,"description":"Further error details","type":"object"},"id":{"description":"The error ID\n\nUseful when trying to identify various errors in application logic.","type":"string"},"message":{"description":"Error message\n\nThe error's message.","example":"The resource could not be found","type":"string"},"reason":{"description":"A human-readable reason for the error","example":"User with ID 1234 does not exist.","type":"string"},"redirect_browser_to":{"type":"string"},"request":{"description":"The request ID\n\nThe request ID is often exposed internally in order to trace\nerrors across service architectures. This is often a UUID.","example":"d7ef54b1-ec15-46e6-bccb-524b82c035e6","type":"string"},"status":{"description":"The status description","example":"Not Found","type":"string"}},"required":["message"],"title":"ErrAALNotSatisfied is returned when an active session was found but the requested AAL is not satisfied.","type":"object"},"expandTree":{"properties":{"children":{"items":{"$ref":"#/components/schemas/expandTree"},"type":"array"},"subject_id":{"type":"string"},"subject_set":{"$ref":"#/components/schemas/SubjectSet"},"type":{"enum":["union","exclusion","intersection","leaf"],"type":"string"}},"required":["type"],"type":"object"},"genericError":{"description":"Error responses are sent when an error (e.g. unauthorized, bad request, ...) occurred.","properties":{"code":{"description":"The status code","example":404,"format":"int64","type":"integer"},"debug":{"description":"Debug information\n\nThis field is often not exposed to protect against leaking\nsensitive information.","example":"SQL field \"foo\" is not a bool.","type":"string"},"details":{"additionalProperties":false,"description":"Further error details","items":{"additionalProperties":true,"type":"object"},"type":"object"},"error":{"$ref":"#/components/schemas/genericErrorContent"},"id":{"description":"The error ID\n\nUseful when trying to identify various errors in application logic.","type":"string"},"message":{"description":"Error message\n\nThe error's message.","example":"The resource could not be found","type":"string"},"reason":{"description":"A human-readable reason for the error","example":"User with ID 1234 does not exist.","type":"string"},"request":{"description":"The request ID\n\nThe request ID is often exposed internally in order to trace\nerrors across service architectures. This is often a UUID.","example":"d7ef54b1-ec15-46e6-bccb-524b82c035e6","type":"string"},"status":{"description":"The status description","example":"Not Found","type":"string"}},"required":["message"],"title":"Error response","type":"object"},"genericErrorContent":{"description":"Error response","properties":{"debug":{"description":"Debug contains debug information. This is usually not available and has to be enabled.","example":"The database adapter was unable to find the element","type":"string"},"error":{"description":"Name is the error name.","example":"The requested resource could not be found","type":"string"},"error_description":{"description":"Description contains further information on the nature of the error.","example":"Object with ID 12345 does not exist","type":"string"},"message":{"description":"Message contains the error message.","type":"string"},"status_code":{"description":"Code represents the error status code (404, 403, 401, ...).","example":404,"format":"int64","type":"integer"}},"type":"object"},"getCheckResponse":{"description":"The content of the allowed field is mirrored in the HTTP status code.","properties":{"allowed":{"description":"whether the relation tuple is allowed","type":"boolean"}},"required":["allowed"],"title":"RESTResponse represents the response for a check request.","type":"object"},"getProjectAccessResponse":{"additionalProperties":{"type":"boolean"},"type":"object"},"getRelationTuplesResponse":{"properties":{"next_page_token":{"description":"The opaque token to provide in a subsequent request\nto get the next page. It is the empty string iff this is\nthe last page.","type":"string"},"relation_tuples":{"items":{"$ref":"#/components/schemas/InternalRelationTuple"},"type":"array"}},"type":"object"},"healthNotReadyStatus":{"properties":{"errors":{"additionalProperties":{"type":"string"},"description":"Errors contains a list of errors that caused the not ready status.","type":"object"}},"type":"object"},"healthStatus":{"properties":{"status":{"description":"Status always contains \"ok\".","type":"string"}},"type":"object"},"identity":{"description":"An identity can be a real human, a service, an IoT device - everything that\ncan be described as an \"actor\" in a system.","properties":{"created_at":{"description":"CreatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"credentials":{"additionalProperties":{"$ref":"#/components/schemas/identityCredentials"},"description":"Credentials represents all credentials that can be used for authenticating this identity.","type":"object"},"id":{"$ref":"#/components/schemas/UUID"},"metadata_admin":{"$ref":"#/components/schemas/nullJsonRawMessage"},"metadata_public":{"$ref":"#/components/schemas/nullJsonRawMessage"},"recovery_addresses":{"description":"RecoveryAddresses contains all the addresses that can be used to recover an identity.","items":{"$ref":"#/components/schemas/RecoveryAddress"},"type":"array","x-omitempty":true},"schema_id":{"description":"SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.","type":"string"},"schema_url":{"description":"SchemaURL is the URL of the endpoint where the identity's traits schema can be fetched from.\n\nformat: url","type":"string"},"state":{"$ref":"#/components/schemas/identityState"},"state_changed_at":{"$ref":"#/components/schemas/nullTime"},"traits":{"$ref":"#/components/schemas/identityTraits"},"updated_at":{"description":"UpdatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"verifiable_addresses":{"description":"VerifiableAddresses contains all the addresses that can be verified by the user.","items":{"$ref":"#/components/schemas/verifiableIdentityAddress"},"type":"array","x-omitempty":true}},"required":["id","schema_id","schema_url","traits"],"title":"Identity represents an Ory Kratos identity","type":"object"},"identityCredentials":{"description":"Credentials represents a specific credential type","properties":{"config":{"$ref":"#/components/schemas/JSONRawMessage"},"created_at":{"description":"CreatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"identifiers":{"description":"Identifiers represents a list of unique identifiers this credential type matches.","items":{"type":"string"},"type":"array"},"type":{"$ref":"#/components/schemas/identityCredentialsType"},"updated_at":{"description":"UpdatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"version":{"description":"Version refers to the version of the credential. Useful when changing the config schema.","format":"int64","type":"integer"}},"type":"object"},"identityCredentialsOidc":{"properties":{"providers":{"items":{"$ref":"#/components/schemas/identityCredentialsOidcProvider"},"type":"array"}},"title":"CredentialsOIDC is contains the configuration for credentials of the type oidc.","type":"object"},"identityCredentialsOidcProvider":{"properties":{"initial_access_token":{"type":"string"},"initial_id_token":{"type":"string"},"initial_refresh_token":{"type":"string"},"provider":{"type":"string"},"subject":{"type":"string"}},"title":"CredentialsOIDCProvider is contains a specific OpenID COnnect credential for a particular connection (e.g. Google).","type":"object"},"identityCredentialsPassword":{"properties":{"hashed_password":{"description":"HashedPassword is a hash-representation of the password.","type":"string"}},"title":"CredentialsPassword is contains the configuration for credentials of the type password.","type":"object"},"identityCredentialsType":{"description":"and so on.","enum":["password","totp","oidc","webauthn","lookup_secret"],"title":"CredentialsType represents several different credential types, like password credentials, passwordless credentials,","type":"string"},"identityList":{"items":{"$ref":"#/components/schemas/identity"},"title":"A list of identities.","type":"array"},"identityMetaSchema":{"type":"object"},"identitySchema":{"description":"Together the name and identity uuid are a unique index constraint.\nThis prevents a user from having schemas with the same name.\nThis also allows schemas to have the same name across the system.","properties":{"blob_name":{"description":"The gcs file name\n\nThis is a randomly generated name which is used to uniquely identify the file on the blob storage","type":"string"},"blob_url":{"description":"The publicly accessible url of the schema","type":"string"},"content_hash":{"description":"The Content Hash\n\nContains a hash of the schema's content.","type":"string"},"created_at":{"description":"The Schema's Creation Date","format":"date-time","readOnly":true,"type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"name":{"description":"The schema name\n\nThis is set by the user and is for them to easily recognise their schema","example":"CustomerIdentity","type":"string"},"updated_at":{"description":"Last Time Schema was Updated","format":"date-time","readOnly":true,"type":"string"}},"required":["id","name","blob_name","blob_url","created_at","updated_at"],"title":"Schema represents an Ory Kratos Identity Schema","type":"object"},"identitySchemaContainer":{"properties":{"id":{"description":"The ID of the Identity JSON Schema","type":"string"},"schema":{"$ref":"#/components/schemas/identitySchema"}},"type":"object"},"identitySchemaLocation":{"properties":{"location":{"type":"string"}},"type":"object"},"identitySchemaPreset":{"properties":{"schema":{"description":"Schema is the Identity JSON Schema","type":"object"},"url":{"description":"URL is the preset identifier","type":"string"}},"required":["url","schema"],"type":"object"},"identitySchemaPresets":{"items":{"$ref":"#/components/schemas/identitySchemaPreset"},"type":"array"},"identitySchemaValidationResult":{"properties":{"message":{"type":"string"},"valid":{"type":"boolean"}},"type":"object"},"identitySchemas":{"description":"Raw identity Schema list","items":{"$ref":"#/components/schemas/identitySchema"},"type":"array"},"identityState":{"description":"The state can either be `active` or `inactive`.","enum":["active","inactive"],"title":"An Identity's State","type":"string"},"identityTraits":{"description":"Traits represent an identity's traits. The identity is able to create, modify, and delete traits\nin a self-service manner. The input will always be validated against the JSON Schema defined\nin `schema_url`."},"identityVerifiableAddressStatus":{"description":"VerifiableAddressStatus must not exceed 16 characters as that is the limitation in the SQL Schema","type":"string"},"identityVerifiableAddressType":{"description":"VerifiableAddressType must not exceed 16 characters as that is the limitation in the SQL Schema","type":"string"},"isOwnerForProjectBySlug":{"properties":{"ProjectSlug":{"description":"ProjectSlug is the project's slug.","type":"string"},"Subject":{"description":"Subject is the subject from the API Token.","type":"string"}},"required":["Subject","ProjectSlug"],"type":"object"},"isOwnerForProjectBySlugPayload":{"properties":{"project_scope":{"description":"ProjectScope is the project_id resolved from the\nAPI Token.","type":"string"},"project_slug":{"description":"ProjectSlug is the project's slug.","type":"string"},"subject":{"description":"Subject is the subject from the API Token.","type":"string"}},"required":["subject","project_slug"],"type":"object"},"jsonError":{"description":"The standard Ory JSON API error format.","properties":{"error":{"$ref":"#/components/schemas/genericError"}},"required":["error"],"title":"JSON API Error Response","type":"object"},"jsonPatch":{"description":"JSON Patch allows you to target individual keys in a JSON document for updates.\n\nFor more examples see: https://jsonpatch.com","properties":{"from":{"description":"This field is used together with operation \"move\" and uses JSON Pointer notation.\n\nLearn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5).","example":"/name","type":"string"},"op":{"description":"The JSON Patch operation","enum":["add","remove","replace","move","copy","test"],"example":"replace","type":"string"},"path":{"description":"The JSON Pointer to the target key","example":"/services/identity/config/smtp/from_name","type":"string"},"value":{"description":"The value to be used. Only available for `add` and `replace` operations.","example":"foobar"}},"required":["op","path"],"title":"A JSON Patch","type":"object"},"jsonPatchDocument":{"description":"A JSONPatchDocument request","items":{"$ref":"#/components/schemas/jsonPatch"},"type":"array"},"listCustomHostnamesResponse":{"items":{"$ref":"#/components/schemas/cnameSettings"},"type":"array"},"needsPrivilegedSessionError":{"properties":{"code":{"description":"The status code","example":404,"format":"int64","type":"integer"},"debug":{"description":"Debug information\n\nThis field is often not exposed to protect against leaking\nsensitive information.","example":"SQL field \"foo\" is not a bool.","type":"string"},"details":{"additionalProperties":true,"description":"Further error details","type":"object"},"id":{"description":"The error ID\n\nUseful when trying to identify various errors in application logic.","type":"string"},"message":{"description":"Error message\n\nThe error's message.","example":"The resource could not be found","type":"string"},"reason":{"description":"A human-readable reason for the error","example":"User with ID 1234 does not exist.","type":"string"},"redirect_browser_to":{"description":"Points to where to redirect the user to next.","type":"string"},"request":{"description":"The request ID\n\nThe request ID is often exposed internally in order to trace\nerrors across service architectures. This is often a UUID.","example":"d7ef54b1-ec15-46e6-bccb-524b82c035e6","type":"string"},"status":{"description":"The status description","example":"Not Found","type":"string"}},"required":["message","redirect_browser_to"],"title":"Is sent when a privileged session is required to perform the settings update.","type":"object"},"normalizedProject":{"properties":{"created_at":{"description":"The Project's Creation Date","format":"date-time","readOnly":true,"type":"string"},"current_revision":{"$ref":"#/components/schemas/normalizedProjectRevision"},"hosts":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"id":{"$ref":"#/components/schemas/UUID"},"revisions":{"$ref":"#/components/schemas/projectRevisions"},"slug":{"description":"The project's slug","readOnly":true,"type":"string"},"state":{"description":"The state of the project.\nrunning Running\nhalted Halted","enum":["running","halted"],"readOnly":true,"type":"string","x-go-enum-desc":"running Running\nhalted Halted"},"subscription_id":{"$ref":"#/components/schemas/NullUUID"},"updated_at":{"description":"Last Time Project was Updated","format":"date-time","readOnly":true,"type":"string"}},"required":["id","hosts","slug","current_revision","revisions","state","created_at","updated_at"],"type":"object"},"normalizedProjectRevision":{"properties":{"created_at":{"description":"The Project's Revision Creation Date","format":"date-time","readOnly":true,"type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"keto_namespaces":{"$ref":"#/components/schemas/KetoNamespaces"},"keto_read_max_depth":{"$ref":"#/components/schemas/NullInt"},"kratos_cookies_same_site":{"description":"Configures the Ory Kratos Cookie SameSite Attribute\n\nThis governs the \"cookies.same_site\" setting.","type":"string"},"kratos_courier_smtp_connection_uri":{"description":"Configures the Ory Kratos SMTP Connection URI\n\nThis governs the \"courier.smtp.connection_uri\" setting.","type":"string"},"kratos_courier_smtp_from_address":{"description":"Configures the Ory Kratos SMTP From Address\n\nThis governs the \"courier.smtp.from_address\" setting.","type":"string"},"kratos_courier_smtp_from_name":{"description":"Configures the Ory Kratos SMTP From Name\n\nThis governs the \"courier.smtp.from_name\" setting.","type":"string"},"kratos_courier_smtp_headers":{"$ref":"#/components/schemas/nullJsonRawMessage"},"kratos_courier_templates_recovery_invalid_email_body_html":{"description":"Configures the Ory Kratos Invalid Recovery Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_recovery_invalid_email_body_plaintext":{"description":"Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_recovery_invalid_email_subject":{"description":"Configures the Ory Kratos Invalid Recovery Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_recovery_valid_email_body_html":{"description":"Configures the Ory Kratos Valid Recovery Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery.valid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_recovery_valid_email_body_plaintext":{"description":"Configures the Ory Kratos Valid Recovery Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_recovery_valid_email_subject":{"description":"Configures the Ory Kratos Valid Recovery Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery.valid.email.subject\" setting.","type":"string"},"kratos_courier_templates_verification_invalid_email_body_html":{"description":"Configures the Ory Kratos Invalid Verification Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification.invalid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_verification_invalid_email_body_plaintext":{"description":"Configures the Ory Kratos Invalid Verification Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_verification_invalid_email_subject":{"description":"Configures the Ory Kratos Invalid Verification Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification.invalid.email.subject\" setting.","type":"string"},"kratos_courier_templates_verification_valid_email_body_html":{"description":"Configures the Ory Kratos Valid Verification Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification.valid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_verification_valid_email_body_plaintext":{"description":"Configures the Ory Kratos Valid Verification Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_verification_valid_email_subject":{"description":"Configures the Ory Kratos Valid Verification Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification.valid.email.subject\" setting.","type":"string"},"kratos_identity_schemas":{"$ref":"#/components/schemas/projectRevisionIdentitySchemas"},"kratos_secrets_cipher":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"kratos_secrets_cookie":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"kratos_secrets_default":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"kratos_selfservice_allowed_return_urls":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"kratos_selfservice_default_browser_return_url":{"description":"Configures the Ory Kratos Default Return URL\n\nThis governs the \"selfservice.allowed_return_urls\" setting.","type":"string"},"kratos_selfservice_flows_error_ui_url":{"description":"Configures the Ory Kratos Error UI URL\n\nThis governs the \"selfservice.flows.error.ui_url\" setting.","type":"string"},"kratos_selfservice_flows_hooks":{"$ref":"#/components/schemas/projectRevisionHooks"},"kratos_selfservice_flows_login_after_default_browser_return_url":{"description":"Configures the Ory Kratos Login Default Return URL\n\nThis governs the \"selfservice.flows.login.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_oidc_default_browser_return_url":{"description":"Configures the Ory Kratos Login After OIDC Default Return URL\n\nThis governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_password_default_browser_return_url":{"description":"Configures the Ory Kratos Login After Password Default Return URL\n\nThis governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_webauthn_default_browser_return_url":{"description":"Configures the Ory Kratos Login After WebAuthn Default Return URL\n\nThis governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_lifespan":{"description":"Configures the Ory Kratos Login Lifespan\n\nThis governs the \"selfservice.flows.login.lifespan\" setting.","type":"string"},"kratos_selfservice_flows_login_ui_url":{"description":"Configures the Ory Kratos Login UI URL\n\nThis governs the \"selfservice.flows.login.ui_url\" setting.","type":"string"},"kratos_selfservice_flows_logout_after_default_browser_return_url":{"description":"Configures the Ory Kratos Logout Default Return URL\n\nThis governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_recovery_after_default_browser_return_url":{"description":"Configures the Ory Kratos Recovery Default Return URL\n\nThis governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_recovery_enabled":{"description":"Configures the Ory Kratos Recovery Enabled Setting\n\nThis governs the \"selfservice.flows.recovery.enabled\" setting.","type":"boolean"},"kratos_selfservice_flows_recovery_lifespan":{"description":"Configures the Ory Kratos Recovery Lifespan\n\nThis governs the \"selfservice.flows.recovery.lifespan\" setting.","type":"string"},"kratos_selfservice_flows_recovery_ui_url":{"description":"Configures the Ory Kratos Recovery UI URL\n\nThis governs the \"selfservice.flows.recovery.ui_url\" setting.","type":"string"},"kratos_selfservice_flows_registration_after_default_browser_return_url":{"description":"Configures the Ory Kratos Registration Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_registration_after_oidc_default_browser_return_url":{"description":"Configures the Ory Kratos Registration After OIDC Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_registration_after_password_default_browser_return_url":{"description":"Configures the Ory Kratos Registration After Password Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url":{"description":"Configures the Ory Kratos Registration After Password Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_registration_enabled":{"$ref":"#/components/schemas/nullBool"},"kratos_selfservice_flows_registration_lifespan":{"description":"Configures the Ory Kratos Registration Lifespan\n\nThis governs the \"selfservice.flows.registration.lifespan\" setting.","type":"string"},"kratos_selfservice_flows_registration_ui_url":{"description":"Configures the Ory Kratos Registration UI URL\n\nThis governs the \"selfservice.flows.registration.ui_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL\n\nThis governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_password_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL After Updating Passwords\n\nThis governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_profile_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL After Updating Profiles\n\nThis governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_lifespan":{"description":"Configures the Ory Kratos Settings Lifespan\n\nThis governs the \"selfservice.flows.settings.lifespan\" setting.","type":"string"},"kratos_selfservice_flows_settings_privileged_session_max_age":{"description":"Configures the Ory Kratos Settings Privileged Session Max Age\n\nThis governs the \"selfservice.flows.settings.privileged_session_max_age\" setting.","type":"string"},"kratos_selfservice_flows_settings_required_aal":{"description":"Configures the Ory Kratos Settings Required AAL\n\nThis governs the \"selfservice.flows.settings.required_aal\" setting.","type":"string"},"kratos_selfservice_flows_settings_ui_url":{"description":"Configures the Ory Kratos Settings UI URL\n\nThis governs the \"selfservice.flows.settings.ui_url\" setting.","type":"string"},"kratos_selfservice_flows_verification_after_default_browser_return_url":{"description":"Configures the Ory Kratos Verification Default Return URL\n\nThis governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_verification_enabled":{"description":"Configures the Ory Kratos Verification Enabled Setting\n\nThis governs the \"selfservice.flows.verification.enabled\" setting.","type":"boolean"},"kratos_selfservice_flows_verification_lifespan":{"description":"Configures the Ory Kratos Verification Lifespan\n\nThis governs the \"selfservice.flows.verification.lifespan\" setting.","type":"string"},"kratos_selfservice_flows_verification_ui_url":{"description":"Configures the Ory Kratos Verification UI URL\n\nThis governs the \"selfservice.flows.verification.ui_url\" setting.","type":"string"},"kratos_selfservice_methods_link_config_base_url":{"description":"Configures the Base URL which Recovery, Verification, and Login Links Point to\n\nIt is recommended to leave this value empty. It will be appropriately configured to the best matching domain\n(e.g. when using custom domains) automatically.\n\nThis governs the \"selfservice.methods.link.config.base_url\" setting.","type":"string"},"kratos_selfservice_methods_link_config_lifespan":{"description":"Configures whether Ory Kratos Link Method is enabled\n\nThis governs the \"selfservice.methods.link.config.lifespan\" setting.","type":"string"},"kratos_selfservice_methods_link_enabled":{"$ref":"#/components/schemas/nullBool"},"kratos_selfservice_methods_lookup_secret_enabled":{"$ref":"#/components/schemas/nullBool"},"kratos_selfservice_methods_oidc_config_base_redirect_uri":{"description":"Configures the Ory Kratos Third Party / OpenID Connect base redirect URI\n\nThis governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting.","type":"string"},"kratos_selfservice_methods_oidc_config_providers":{"$ref":"#/components/schemas/projectRevisionThirdPartyLoginProviders"},"kratos_selfservice_methods_oidc_enabled":{"description":"Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled\n\nThis governs the \"selfservice.methods.oidc.enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_password_config_haveibeenpwned_enabled":{"$ref":"#/components/schemas/nullBool"},"kratos_selfservice_methods_password_config_identifier_similarity_check_enabled":{"$ref":"#/components/schemas/nullBool"},"kratos_selfservice_methods_password_config_ignore_network_errors":{"$ref":"#/components/schemas/nullBool"},"kratos_selfservice_methods_password_config_max_breaches":{"description":"Configures Ory Kratos Password Max Breaches Detection\n\nThis governs the \"selfservice.methods.password.config.max_breaches\" setting.","format":"int64","type":"integer"},"kratos_selfservice_methods_password_config_min_password_length":{"description":"Configures the minimum length of passwords.\n\nThis governs the \"selfservice.methods.password.config.min_password_length\" setting.","format":"int64","type":"integer"},"kratos_selfservice_methods_password_enabled":{"$ref":"#/components/schemas/nullBool"},"kratos_selfservice_methods_profile_enabled":{"$ref":"#/components/schemas/nullBool"},"kratos_selfservice_methods_totp_config_issuer":{"description":"Configures Ory Kratos TOTP Issuer\n\nThis governs the \"selfservice.methods.totp.config.issuer\" setting.","type":"string"},"kratos_selfservice_methods_totp_enabled":{"$ref":"#/components/schemas/nullBool"},"kratos_selfservice_methods_webauthn_config_passwordless":{"description":"Configures whether Ory Kratos Webauthn is used for passwordless flows\n\nThis governs the \"selfservice.methods.webauthn.config.passwordless\" setting.","type":"boolean"},"kratos_selfservice_methods_webauthn_config_rp_display_name":{"description":"Configures the Ory Kratos Webauthn RP Display Name\n\nThis governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting.","type":"string"},"kratos_selfservice_methods_webauthn_config_rp_icon":{"description":"Configures the Ory Kratos Webauthn RP Icon\n\nThis governs the \"selfservice.methods.webauthn.config.rp.icon\" setting.","type":"string"},"kratos_selfservice_methods_webauthn_config_rp_id":{"description":"Configures the Ory Kratos Webauthn RP ID\n\nThis governs the \"selfservice.methods.webauthn.config.rp.id\" setting.","type":"string"},"kratos_selfservice_methods_webauthn_config_rp_origin":{"description":"Configures the Ory Kratos Webauthn RP Origin\n\nThis governs the \"selfservice.methods.webauthn.config.rp.origin\" setting.","type":"string"},"kratos_selfservice_methods_webauthn_enabled":{"$ref":"#/components/schemas/nullBool"},"kratos_session_cookie_persistent":{"$ref":"#/components/schemas/nullBool"},"kratos_session_cookie_same_site":{"description":"Configures the Ory Kratos Session Cookie SameSite Attribute\n\nThis governs the \"session.cookie.same_site\" setting.","type":"string"},"kratos_session_lifespan":{"description":"Configures the Ory Kratos Session Lifespan\n\nThis governs the \"session.lifespan\" setting.","type":"string"},"kratos_session_whoami_required_aal":{"description":"Configures the Ory Kratos Session Whoami AAL requirement\n\nThis governs the \"session.whoami.required_aal\" setting.","type":"string"},"name":{"description":"The project's name.","type":"string"},"project_id":{"$ref":"#/components/schemas/UUID"},"updated_at":{"description":"Last Time Project's Revision was Updated","format":"date-time","readOnly":true,"type":"string"}},"required":["name"],"type":"object"},"normalizedProjectRevisionHook":{"properties":{"config_key":{"description":"The Hooks Config Key","type":"string"},"created_at":{"description":"The Project's Revision Creation Date","format":"date-time","readOnly":true,"type":"string"},"hook":{"description":"The Hook Type","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"project_revision_id":{"$ref":"#/components/schemas/UUID"},"updated_at":{"description":"Last Time Project's Revision was Updated","format":"date-time","readOnly":true,"type":"string"},"web_hook_config_auth_api_key_in":{"description":"Whether to send the API Key in the HTTP Header or as a HTTP Cookie","example":"header","type":"string"},"web_hook_config_auth_api_key_name":{"description":"The name of the api key","example":"X-API-Key","type":"string"},"web_hook_config_auth_api_key_value":{"description":"The value of the api key","example":"eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ","type":"string"},"web_hook_config_auth_basic_auth_password":{"description":"The password to be sent in the HTTP Basic Auth Header","type":"string"},"web_hook_config_auth_basic_auth_user":{"description":"The username to be sent in the HTTP Basic Auth Header","type":"string"},"web_hook_config_auth_type":{"description":"HTTP Auth Method to use for the Web-Hook","type":"string"},"web_hook_config_body":{"description":"URI pointing to the JsonNet template used for Web-Hook payload generation. Only used for those HTTP methods, which support HTTP body payloads.","example":"base64://ZnVuY3Rpb24oY3R4KSB7CiAgaWRlbnRpdHlfaWQ6IGlmIGN0eFsiaWRlbnRpdHkiXSAhPSBudWxsIHRoZW4gY3R4LmlkZW50aXR5LmlkLAp9=","type":"string"},"web_hook_config_method":{"description":"The HTTP method to use (GET, POST, etc) for the Web-Hook","example":"POST","type":"string"},"web_hook_config_response_ignore":{"description":"Whether to ignore the Web Hook response","type":"boolean"},"web_hook_config_url":{"description":"The URL the Web-Hook should call","example":"https://www.example.org/web-hook-listener","type":"string"}},"required":["config_key","hook"],"type":"object"},"normalizedProjectRevisionIdentitySchema":{"properties":{"created_at":{"description":"The Project's Revision Creation Date","format":"date-time","readOnly":true,"type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"identity_schema":{"$ref":"#/components/schemas/identitySchema"},"identity_schema_id":{"$ref":"#/components/schemas/NullUUID"},"import_id":{"description":"The imported (named) ID of the Identity Schema referenced in the Ory Kratos config.","type":"string"},"import_url":{"description":"The ImportURL can be used to import an Identity Schema from a bse64 encoded string.\nIn the future, this key also support HTTPS and other sources!\n\nIf you import an Ory Kratos configuration, this would be akin to the `identity.schemas.#.url` key.\n\nThe configuration will always return the import URL when you fetch it from the API.","example":"base64://ey...","type":"string"},"is_default":{"description":"If true sets the default schema for identities\n\nOnly one schema can ever be the default schema. If you\ntry to add two schemas with default to true, the\nrequest will fail.","type":"boolean"},"preset":{"description":"Use a preset instead of a custom identity schema.","type":"string"},"project_revision_id":{"$ref":"#/components/schemas/UUID"},"updated_at":{"description":"Last Time Project's Revision was Updated","format":"date-time","readOnly":true,"type":"string"}},"type":"object"},"normalizedProjectRevisionIdentitySchemas":{"items":{"$ref":"#/components/schemas/normalizedProjectRevisionIdentitySchema"},"type":"array"},"normalizedProjectRevisionThirdPartyProvider":{"properties":{"apple_private_key":{"$ref":"#/components/schemas/String"},"apple_private_key_id":{"description":"Apple Private Key Identifier\n\nSign In with Apple Private Key Identifier needed for generating a JWT token for client secret","example":"UX56C66723","type":"string"},"apple_team_id":{"description":"Apple Developer Team ID\n\nApple Developer Team ID needed for generating a JWT token for client secret","example":"KP76DQS54M","type":"string"},"auth_url":{"description":"AuthURL is the authorize url, typically something like: https://example.org/oauth2/auth\nShould only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when\n`provider` is set to `generic`.","example":"https://www.googleapis.com/oauth2/v2/auth","type":"string"},"azure_tenant":{"description":"Tenant is the Azure AD Tenant to use for authentication, and must be set when `provider` is set to `microsoft`.\n\nCan be either `common`, `organizations`, `consumers` for a multitenant application or a specific tenant like\n`8eaef023-2b34-4da1-9baa-8bc8c9d6a490` or `contoso.onmicrosoft.com`.","example":"contoso.onmicrosoft.com","type":"string"},"client_id":{"description":"ClientID is the application's Client ID.","type":"string"},"client_secret":{"$ref":"#/components/schemas/String"},"created_at":{"description":"The Project's Revision Creation Date","format":"date-time","readOnly":true,"type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"issuer_url":{"description":"IssuerURL is the OpenID Connect Server URL. You can leave this empty if `provider` is not set to `generic`.\nIf set, neither `auth_url` nor `token_url` are required.","example":"https://accounts.google.com","type":"string"},"label":{"description":"Label represents an optional label which can be used in the UI generation.","type":"string"},"mapper_url":{"description":"Mapper specifies the JSONNet code snippet which uses the OpenID Connect Provider's data (e.g. GitHub or Google\nprofile information) to hydrate the identity's data.\n\nIt can be either a URL (file://, http(s)://, base64://) or an inline JSONNet code snippet.","type":"string"},"project_revision_id":{"$ref":"#/components/schemas/UUID"},"provider":{"description":"Provider is either \"generic\" for a generic OAuth 2.0 / OpenID Connect Provider or one of:\ngeneric\ngoogle\ngithub\ngitlab\nmicrosoft\ndiscord\nslack\nfacebook\nvk\nyandex\napple","example":"google","type":"string"},"provider_id":{"description":"ID is the provider's ID","type":"string"},"requested_claims":{"$ref":"#/components/schemas/JSONRawMessage"},"scope":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"token_url":{"description":"TokenURL is the token url, typically something like: https://example.org/oauth2/token\n\nShould only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when\n`provider` is set to `generic`.","example":"https://www.googleapis.com/oauth2/v4/token","type":"string"},"updated_at":{"description":"Last Time Project's Revision was Updated","format":"date-time","readOnly":true,"type":"string"}},"type":"object"},"normalizedProjects":{"items":{"$ref":"#/components/schemas/normalizedProject"},"type":"array"},"nullBool":{"nullable":true,"type":"boolean"},"nullJsonRawMessage":{"description":"NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-","type":"object"},"nullTime":{"format":"date-time","title":"NullTime implements sql.NullTime functionality.","type":"string"},"pagination":{"properties":{"page":{"default":1,"description":"Pagination Page\n\nThis value is currently an integer, but it is not sequential. The value is not the page number, but a\nreference. The next page can be any number and some numbers might return an empty list.\n\nFor example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist.","format":"int64","minimum":1,"type":"integer"},"per_page":{"default":250,"description":"Items per Page\n\nThis is the number of items per page.","format":"int64","maximum":1000,"minimum":1,"type":"integer"}},"type":"object"},"project":{"properties":{"id":{"$ref":"#/components/schemas/UUID"},"name":{"description":"The name of the project.","type":"string"},"revision_id":{"$ref":"#/components/schemas/UUID"},"services":{"$ref":"#/components/schemas/projectServices"},"slug":{"description":"The project's slug","readOnly":true,"type":"string"},"state":{"description":"The state of the project.\nrunning Running\nhalted Halted","enum":["running","halted"],"readOnly":true,"type":"string","x-go-enum-desc":"running Running\nhalted Halted"}},"required":["id","revision_id","slug","services","state","name"],"type":"object"},"projectHost":{"properties":{"host":{"description":"The project's host.","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"project_id":{"$ref":"#/components/schemas/UUID"}},"required":["id","host","project_id"],"type":"object"},"projectInvite":{"properties":{"created_at":{"description":"The Project's Revision Creation Date","format":"date-time","readOnly":true,"type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"invitee_email":{"description":"The invitee's email","type":"string"},"invitee_id":{"$ref":"#/components/schemas/NullUUID"},"owner_email":{"description":"The invite owner's email\nUsually the project's owner email","type":"string"},"owner_id":{"$ref":"#/components/schemas/UUID"},"project_id":{"$ref":"#/components/schemas/UUID"},"status":{"description":"The invite's status\nKeeps track of the invites status such as pending, accepted, declined, expired","type":"string"},"updated_at":{"description":"Last Time Project's Revision was Updated","format":"date-time","readOnly":true,"type":"string"}},"required":["id","project_id","owner_id","owner_email","invitee_email","status","created_at","updated_at"],"type":"object"},"projectInvites":{"items":{"$ref":"#/components/schemas/projectInvite"},"type":"array"},"projectMember":{"$ref":"#/components/schemas/cloudAccount"},"projectMembers":{"items":{"$ref":"#/components/schemas/projectMember"},"type":"array"},"projectMetadata":{"properties":{"created_at":{"description":"The Project's Creation Date","format":"date-time","type":"string"},"hosts":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"id":{"$ref":"#/components/schemas/UUID"},"name":{"description":"The project's name if set","type":"string"},"slug":{"description":"The project's slug","readOnly":true,"type":"string"},"state":{"description":"The state of the project.\nrunning Running\nhalted Halted","enum":["running","halted"],"type":"string","x-go-enum-desc":"running Running\nhalted Halted"},"subscription_id":{"$ref":"#/components/schemas/NullUUID"},"updated_at":{"description":"Last Time Project was Updated","format":"date-time","type":"string"}},"required":["id","hosts","state","created_at","updated_at","name"],"type":"object"},"projectMetadataList":{"items":{"$ref":"#/components/schemas/projectMetadata"},"type":"array"},"projectRevisionHooks":{"items":{"$ref":"#/components/schemas/normalizedProjectRevisionHook"},"type":"array"},"projectRevisionIdentitySchemas":{"items":{"$ref":"#/components/schemas/normalizedProjectRevisionIdentitySchema"},"type":"array"},"projectRevisionThirdPartyLoginProviders":{"items":{"$ref":"#/components/schemas/normalizedProjectRevisionThirdPartyProvider"},"type":"array"},"projectRevisions":{"items":{"$ref":"#/components/schemas/normalizedProjectRevision"},"type":"array"},"projectServiceIdentity":{"properties":{"config":{"type":"object"}},"required":["config"],"type":"object"},"projectServicePermission":{"properties":{"config":{"type":"object"}},"required":["config"],"type":"object"},"projectServices":{"properties":{"identity":{"$ref":"#/components/schemas/projectServiceIdentity"},"permission":{"$ref":"#/components/schemas/projectServicePermission"}},"type":"object"},"projects":{"items":{"$ref":"#/components/schemas/project"},"type":"array"},"provisionMockSubscriptionPayload":{"properties":{"identity_id":{"$ref":"#/components/schemas/UUID"},"plan_or_price":{"type":"string"}},"required":["plan_or_price","identity_id"],"type":"object"},"revokedSessions":{"properties":{"count":{"description":"The number of sessions that were revoked.","format":"int64","type":"integer"}},"type":"object"},"schemaPatch":{"properties":{"data":{"description":"The json schema","type":"object"},"name":{"description":"The user defined schema name","type":"string"}},"required":["name","data"],"type":"object"},"selfServiceBrowserLocationChangeRequiredError":{"properties":{"code":{"description":"The status code","example":404,"format":"int64","type":"integer"},"debug":{"description":"Debug information\n\nThis field is often not exposed to protect against leaking\nsensitive information.","example":"SQL field \"foo\" is not a bool.","type":"string"},"details":{"additionalProperties":true,"description":"Further error details","type":"object"},"id":{"description":"The error ID\n\nUseful when trying to identify various errors in application logic.","type":"string"},"message":{"description":"Error message\n\nThe error's message.","example":"The resource could not be found","type":"string"},"reason":{"description":"A human-readable reason for the error","example":"User with ID 1234 does not exist.","type":"string"},"redirect_browser_to":{"description":"Since when the flow has expired","type":"string"},"request":{"description":"The request ID\n\nThe request ID is often exposed internally in order to trace\nerrors across service architectures. This is often a UUID.","example":"d7ef54b1-ec15-46e6-bccb-524b82c035e6","type":"string"},"status":{"description":"The status description","example":"Not Found","type":"string"}},"required":["message"],"title":"Is sent when a flow requires a browser to change its location.","type":"object"},"selfServiceError":{"properties":{"created_at":{"description":"CreatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"error":{"type":"object"},"id":{"$ref":"#/components/schemas/UUID"},"updated_at":{"description":"UpdatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"}},"required":["id"],"type":"object"},"selfServiceFlowExpiredError":{"description":"Is sent when a flow is expired","properties":{"code":{"description":"The status code","example":404,"format":"int64","type":"integer"},"debug":{"description":"Debug information\n\nThis field is often not exposed to protect against leaking\nsensitive information.","example":"SQL field \"foo\" is not a bool.","type":"string"},"details":{"additionalProperties":true,"description":"Further error details","type":"object"},"id":{"description":"The error ID\n\nUseful when trying to identify various errors in application logic.","type":"string"},"message":{"description":"Error message\n\nThe error's message.","example":"The resource could not be found","type":"string"},"reason":{"description":"A human-readable reason for the error","example":"User with ID 1234 does not exist.","type":"string"},"request":{"description":"The request ID\n\nThe request ID is often exposed internally in order to trace\nerrors across service architectures. This is often a UUID.","example":"d7ef54b1-ec15-46e6-bccb-524b82c035e6","type":"string"},"since":{"$ref":"#/components/schemas/Duration"},"status":{"description":"The status description","example":"Not Found","type":"string"},"use_flow_id":{"$ref":"#/components/schemas/UUID"}},"required":["message"],"type":"object"},"selfServiceFlowType":{"description":"The flow type can either be `api` or `browser`.","title":"Type is the flow type.","type":"string"},"selfServiceLoginFlow":{"description":"This object represents a login flow. A login flow is initiated at the \"Initiate Login API / Browser Flow\"\nendpoint by a client.\n\nOnce a login flow is completed successfully, a session cookie or session token will be issued.","properties":{"active":{"$ref":"#/components/schemas/identityCredentialsType"},"created_at":{"description":"CreatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in,\na new flow has to be initiated.","format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"issued_at":{"description":"IssuedAt is the time (UTC) when the flow started.","format":"date-time","type":"string"},"refresh":{"description":"Refresh stores whether this login flow should enforce re-authentication.","type":"boolean"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"requested_aal":{"$ref":"#/components/schemas/authenticatorAssuranceLevel"},"return_to":{"description":"ReturnTo contains the requested return_to URL.","type":"string"},"type":{"$ref":"#/components/schemas/selfServiceFlowType"},"ui":{"$ref":"#/components/schemas/uiContainer"},"updated_at":{"description":"UpdatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"}},"required":["id","type","expires_at","issued_at","request_url","ui"],"title":"Login Flow","type":"object"},"selfServiceLogoutUrl":{"properties":{"logout_token":{"description":"LogoutToken can be used to perform logout using AJAX.","type":"string"},"logout_url":{"description":"LogoutURL can be opened in a browser to sign the user out.\n\nformat: uri","type":"string"}},"required":["logout_url","logout_token"],"type":"object"},"selfServiceRecoveryFlow":{"description":"This request is used when an identity wants to recover their account.\n\nWe recommend reading the [Account Recovery Documentation](../self-service/flows/password-reset-account-recovery)","properties":{"active":{"description":"Active, if set, contains the registration method that is being used. It is initially\nnot set.","type":"string"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the setting,\na new request has to be initiated.","format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"issued_at":{"description":"IssuedAt is the time (UTC) when the request occurred.","format":"date-time","type":"string"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"return_to":{"description":"ReturnTo contains the requested return_to URL.","type":"string"},"state":{"$ref":"#/components/schemas/selfServiceRecoveryFlowState"},"type":{"$ref":"#/components/schemas/selfServiceFlowType"},"ui":{"$ref":"#/components/schemas/uiContainer"}},"required":["id","type","expires_at","issued_at","request_url","ui","state"],"title":"A Recovery Flow","type":"object"},"selfServiceRecoveryFlowState":{"description":"The state represents the state of the recovery flow.\n\nchoose_method: ask the user to choose a method (e.g. recover account via email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the recovery challenge was passed.","enum":["choose_method","sent_email","passed_challenge"],"title":"Recovery Flow State","type":"string"},"selfServiceRecoveryLink":{"properties":{"expires_at":{"description":"Recovery Link Expires At\n\nThe timestamp when the recovery link expires.","format":"date-time","type":"string"},"recovery_link":{"description":"Recovery Link\n\nThis link can be used to recover the account.","type":"string"}},"required":["recovery_link"],"type":"object"},"selfServiceRegistrationFlow":{"properties":{"active":{"$ref":"#/components/schemas/identityCredentialsType"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in,\na new flow has to be initiated.","format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"issued_at":{"description":"IssuedAt is the time (UTC) when the flow occurred.","format":"date-time","type":"string"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"return_to":{"description":"ReturnTo contains the requested return_to URL.","type":"string"},"type":{"$ref":"#/components/schemas/selfServiceFlowType"},"ui":{"$ref":"#/components/schemas/uiContainer"}},"required":["id","type","expires_at","issued_at","request_url","ui"],"type":"object"},"selfServiceSettingsFlow":{"description":"This flow is used when an identity wants to update settings\n(e.g. profile data, passwords, ...) in a selfservice manner.\n\nWe recommend reading the [User Settings Documentation](../self-service/flows/user-settings)","properties":{"active":{"description":"Active, if set, contains the registration method that is being used. It is initially\nnot set.","type":"string"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to update the setting,\na new flow has to be initiated.","format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"identity":{"$ref":"#/components/schemas/identity"},"issued_at":{"description":"IssuedAt is the time (UTC) when the flow occurred.","format":"date-time","type":"string"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"return_to":{"description":"ReturnTo contains the requested return_to URL.","type":"string"},"state":{"$ref":"#/components/schemas/selfServiceSettingsFlowState"},"type":{"$ref":"#/components/schemas/selfServiceFlowType"},"ui":{"$ref":"#/components/schemas/uiContainer"}},"required":["id","type","expires_at","issued_at","request_url","ui","identity","state"],"title":"Flow represents a Settings Flow","type":"object"},"selfServiceSettingsFlowState":{"description":"show_form: No user data has been collected, or it is invalid, and thus the form should be shown.\nsuccess: Indicates that the settings flow has been updated successfully with the provided data.\nDone will stay true when repeatedly checking. If set to true, done will revert back to false only\nwhen a flow with invalid (e.g. \"please use a valid phone number\") data was sent.","enum":["show_form","success"],"title":"State represents the state of this flow. It knows two states:","type":"string"},"selfServiceVerificationFlow":{"description":"Used to verify an out-of-band communication\nchannel such as an email address or a phone number.\n\nFor more information head over to: https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation","properties":{"active":{"description":"Active, if set, contains the registration method that is being used. It is initially\nnot set.","type":"string"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the request expires. If the user still wishes to verify the address,\na new request has to be initiated.","format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"issued_at":{"description":"IssuedAt is the time (UTC) when the request occurred.","format":"date-time","type":"string"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"return_to":{"description":"ReturnTo contains the requested return_to URL.","type":"string"},"state":{"$ref":"#/components/schemas/selfServiceVerificationFlowState"},"type":{"$ref":"#/components/schemas/selfServiceFlowType"},"ui":{"$ref":"#/components/schemas/uiContainer"}},"required":["id","type","ui","state"],"title":"A Verification Flow","type":"object"},"selfServiceVerificationFlowState":{"description":"The state represents the state of the verification flow.\n\nchoose_method: ask the user to choose a method (e.g. recover account via email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the recovery challenge was passed.","enum":["choose_method","sent_email","passed_challenge"],"title":"Verification Flow State","type":"string"},"session":{"description":"A Session","properties":{"active":{"description":"Active state. If false the session is no longer active.","type":"boolean"},"authenticated_at":{"description":"The Session Authentication Timestamp\n\nWhen this session was authenticated at. If multi-factor authentication was used this\nis the time when the last factor was authenticated (e.g. the TOTP code challenge was completed).","format":"date-time","type":"string"},"authentication_methods":{"$ref":"#/components/schemas/sessionAuthenticationMethods"},"authenticator_assurance_level":{"$ref":"#/components/schemas/authenticatorAssuranceLevel"},"expires_at":{"description":"The Session Expiry\n\nWhen this session expires at.","format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"identity":{"$ref":"#/components/schemas/identity"},"issued_at":{"description":"The Session Issuance Timestamp\n\nWhen this session was issued at. Usually equal or close to `authenticated_at`.","format":"date-time","type":"string"}},"required":["id","identity"],"type":"object"},"sessionAuthenticationMethod":{"description":"A singular authenticator used during authentication / login.","properties":{"aal":{"$ref":"#/components/schemas/authenticatorAssuranceLevel"},"completed_at":{"description":"When the authentication challenge was completed.","format":"date-time","type":"string"},"method":{"enum":["link_recovery","password","totp","oidc","webauthn","lookup_secret","v0.6_legacy_session"],"title":"The method used","type":"string"}},"title":"AuthenticationMethod identifies an authentication method","type":"object"},"sessionAuthenticationMethods":{"description":"A list of authenticators which were used to authenticate the session.","items":{"$ref":"#/components/schemas/sessionAuthenticationMethod"},"title":"List of (Used) AuthenticationMethods","type":"array"},"sessionDevice":{"properties":{"user_agent":{"description":"UserAgent of this device","type":"string"}},"type":"object"},"sessionList":{"items":{"$ref":"#/components/schemas/session"},"type":"array"},"settingsProfileFormConfig":{"properties":{"action":{"description":"Action should be used as the form action URL `
`.","type":"string"},"messages":{"$ref":"#/components/schemas/uiTexts"},"method":{"description":"Method is the form method (e.g. POST)","type":"string"},"nodes":{"$ref":"#/components/schemas/uiNodes"}},"required":["action","method","nodes"],"type":"object"},"stripeCustomerResponse":{"properties":{"id":{"type":"string"}},"type":"object"},"subject":{"type":"object"},"submitSelfServiceFlowWithWebAuthnRegistrationMethod":{"properties":{"webauthn_register":{"description":"Register a WebAuthn Security Key\n\nIt is expected that the JSON returned by the WebAuthn registration process\nis included here.","type":"string"},"webauthn_register_displayname":{"description":"Name of the WebAuthn Security Key to be Added\n\nA human-readable name for the security key which will be added.","type":"string"}},"type":"object"},"submitSelfServiceLoginFlowBody":{"discriminator":{"mapping":{"lookup_secret":"#/components/schemas/submitSelfServiceLoginFlowWithLookupSecretMethodBody","oidc":"#/components/schemas/submitSelfServiceLoginFlowWithOidcMethodBody","password":"#/components/schemas/submitSelfServiceLoginFlowWithPasswordMethodBody","totp":"#/components/schemas/submitSelfServiceLoginFlowWithTotpMethodBody","webauthn":"#/components/schemas/submitSelfServiceLoginFlowWithWebAuthnMethodBody"},"propertyName":"method"},"oneOf":[{"$ref":"#/components/schemas/submitSelfServiceLoginFlowWithPasswordMethodBody"},{"$ref":"#/components/schemas/submitSelfServiceLoginFlowWithOidcMethodBody"},{"$ref":"#/components/schemas/submitSelfServiceLoginFlowWithTotpMethodBody"},{"$ref":"#/components/schemas/submitSelfServiceLoginFlowWithWebAuthnMethodBody"},{"$ref":"#/components/schemas/submitSelfServiceLoginFlowWithLookupSecretMethodBody"}]},"submitSelfServiceLoginFlowWithLookupSecretMethodBody":{"properties":{"csrf_token":{"description":"Sending the anti-csrf token is only required for browser login flows.","type":"string"},"lookup_secret":{"description":"The lookup secret.","type":"string"},"method":{"description":"Method should be set to \"lookup_secret\" when logging in using the lookup_secret strategy.","type":"string"}},"required":["method","lookup_secret"],"title":"submitSelfServiceLoginFlowWithLookupSecretMethodBody is used to decode the login form payload.","type":"object"},"submitSelfServiceLoginFlowWithOidcMethodBody":{"description":"SubmitSelfServiceLoginFlowWithOidcMethodBody is used to decode the login form payload\nwhen using the oidc method.","properties":{"csrf_token":{"description":"The CSRF Token","type":"string"},"method":{"description":"Method to use\n\nThis field must be set to `oidc` when using the oidc method.","type":"string"},"provider":{"description":"The provider to register with","type":"string"},"traits":{"description":"The identity traits. This is a placeholder for the registration flow.","type":"object"}},"required":["provider","method"],"type":"object"},"submitSelfServiceLoginFlowWithPasswordMethodBody":{"properties":{"csrf_token":{"description":"Sending the anti-csrf token is only required for browser login flows.","type":"string"},"identifier":{"description":"Identifier is the email or username of the user trying to log in.","type":"string"},"method":{"description":"Method should be set to \"password\" when logging in using the identifier and password strategy.","type":"string"},"password":{"description":"The user's password.","type":"string"},"password_identifier":{"description":"Identifier is the email or username of the user trying to log in.\nThis field is deprecated!","type":"string"}},"required":["method","password","identifier"],"title":"submitSelfServiceLoginFlowWithPasswordMethodBody is used to decode the login form payload.","type":"object"},"submitSelfServiceLoginFlowWithTotpMethodBody":{"properties":{"csrf_token":{"description":"Sending the anti-csrf token is only required for browser login flows.","type":"string"},"method":{"description":"Method should be set to \"totp\" when logging in using the TOTP strategy.","type":"string"},"totp_code":{"description":"The TOTP code.","type":"string"}},"required":["method","totp_code"],"title":"submitSelfServiceLoginFlowWithTotpMethodBody is used to decode the login form payload.","type":"object"},"submitSelfServiceLoginFlowWithWebAuthnMethodBody":{"properties":{"csrf_token":{"description":"Sending the anti-csrf token is only required for browser login flows.","type":"string"},"identifier":{"description":"Identifier is the email or username of the user trying to log in.","type":"string"},"method":{"description":"Method should be set to \"webAuthn\" when logging in using the WebAuthn strategy.","type":"string"},"webauthn_login":{"description":"Login a WebAuthn Security Key\n\nThis must contain the ID of the WebAuthN connection.","type":"string"}},"required":["identifier","method"],"title":"submitSelfServiceLoginFlowWithWebAuthnMethodBody is used to decode the login form payload.","type":"object"},"submitSelfServiceLogoutFlowWithoutBrowserBody":{"description":"nolint:deadcode,unused","properties":{"session_token":{"description":"The Session Token\n\nInvalidate this session token.","type":"string"}},"required":["session_token"],"type":"object"},"submitSelfServiceRecoveryFlowBody":{"discriminator":{"mapping":{"link":"#/components/schemas/submitSelfServiceRecoveryFlowWithLinkMethodBody"},"propertyName":"method"},"oneOf":[{"$ref":"#/components/schemas/submitSelfServiceRecoveryFlowWithLinkMethodBody"}]},"submitSelfServiceRecoveryFlowWithLinkMethodBody":{"properties":{"csrf_token":{"description":"Sending the anti-csrf token is only required for browser login flows.","type":"string"},"email":{"description":"Email to Recover\n\nNeeds to be set when initiating the flow. If the email is a registered\nrecovery email, a recovery link will be sent. If the email is not known,\na email with details on what happened will be sent instead.\n\nformat: email","type":"string"},"method":{"description":"Method supports `link` only right now.","type":"string"}},"required":["email","method"],"type":"object"},"submitSelfServiceRegistrationFlowBody":{"discriminator":{"mapping":{"oidc":"#/components/schemas/submitSelfServiceRegistrationFlowWithOidcMethodBody","password":"#/components/schemas/submitSelfServiceRegistrationFlowWithPasswordMethodBody","webauthn":"#/components/schemas/submitSelfServiceRegistrationFlowWithWebAuthnMethodBody"},"propertyName":"method"},"oneOf":[{"$ref":"#/components/schemas/submitSelfServiceRegistrationFlowWithPasswordMethodBody"},{"$ref":"#/components/schemas/submitSelfServiceRegistrationFlowWithOidcMethodBody"},{"$ref":"#/components/schemas/submitSelfServiceRegistrationFlowWithWebAuthnMethodBody"}]},"submitSelfServiceRegistrationFlowWithOidcMethodBody":{"description":"SubmitSelfServiceRegistrationFlowWithOidcMethodBody is used to decode the registration form payload\nwhen using the oidc method.","properties":{"csrf_token":{"description":"The CSRF Token","type":"string"},"method":{"description":"Method to use\n\nThis field must be set to `oidc` when using the oidc method.","type":"string"},"provider":{"description":"The provider to register with","type":"string"},"traits":{"description":"The identity traits","type":"object"}},"required":["provider","method"],"type":"object"},"submitSelfServiceRegistrationFlowWithPasswordMethodBody":{"description":"SubmitSelfServiceRegistrationFlowWithPasswordMethodBody is used to decode the registration form payload\nwhen using the password method.","properties":{"csrf_token":{"description":"The CSRF Token","type":"string"},"method":{"description":"Method to use\n\nThis field must be set to `password` when using the password method.","type":"string"},"password":{"description":"Password to sign the user up with","type":"string"},"traits":{"description":"The identity's traits","type":"object"}},"required":["password","traits","method"],"type":"object"},"submitSelfServiceRegistrationFlowWithWebAuthnMethodBody":{"properties":{"csrf_token":{"description":"CSRFToken is the anti-CSRF token","type":"string"},"method":{"description":"Method\n\nShould be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing.","type":"string"},"traits":{"description":"The identity's traits","type":"object"},"webauthn_register":{"description":"Register a WebAuthn Security Key\n\nIt is expected that the JSON returned by the WebAuthn registration process\nis included here.","type":"string"},"webauthn_register_displayname":{"description":"Name of the WebAuthn Security Key to be Added\n\nA human-readable name for the security key which will be added.","type":"string"}},"required":["traits","method"],"type":"object"},"submitSelfServiceSettingsFlowBody":{"discriminator":{"mapping":{"lookup_secret":"#/components/schemas/submitSelfServiceSettingsFlowWithLookupMethodBody","oidc":"#/components/schemas/submitSelfServiceSettingsFlowWithOidcMethodBody","password":"#/components/schemas/submitSelfServiceSettingsFlowWithPasswordMethodBody","profile":"#/components/schemas/submitSelfServiceSettingsFlowWithProfileMethodBody","totp":"#/components/schemas/submitSelfServiceSettingsFlowWithTotpMethodBody","webauthn":"#/components/schemas/submitSelfServiceSettingsFlowWithWebAuthnMethodBody"},"propertyName":"method"},"oneOf":[{"$ref":"#/components/schemas/submitSelfServiceSettingsFlowWithPasswordMethodBody"},{"$ref":"#/components/schemas/submitSelfServiceSettingsFlowWithProfileMethodBody"},{"$ref":"#/components/schemas/submitSelfServiceSettingsFlowWithOidcMethodBody"},{"$ref":"#/components/schemas/submitSelfServiceSettingsFlowWithOidcMethodBody"},{"$ref":"#/components/schemas/submitSelfServiceSettingsFlowWithTotpMethodBody"},{"$ref":"#/components/schemas/submitSelfServiceSettingsFlowWithWebAuthnMethodBody"},{"$ref":"#/components/schemas/submitSelfServiceSettingsFlowWithLookupMethodBody"}]},"submitSelfServiceSettingsFlowWithLookupMethodBody":{"properties":{"csrf_token":{"description":"CSRFToken is the anti-CSRF token","type":"string"},"lookup_secret_confirm":{"description":"If set to true will save the regenerated lookup secrets","type":"boolean"},"lookup_secret_disable":{"description":"Disables this method if true.","type":"boolean"},"lookup_secret_regenerate":{"description":"If set to true will regenerate the lookup secrets","type":"boolean"},"lookup_secret_reveal":{"description":"If set to true will reveal the lookup secrets","type":"boolean"},"method":{"description":"Method\n\nShould be set to \"lookup\" when trying to add, update, or remove a lookup pairing.","type":"string"}},"required":["method"],"type":"object"},"submitSelfServiceSettingsFlowWithOidcMethodBody":{"description":"nolint:deadcode,unused","properties":{"flow":{"description":"Flow ID is the flow's ID.\n\nin: query","type":"string"},"link":{"description":"Link this provider\n\nEither this or `unlink` must be set.\n\ntype: string\nin: body","type":"string"},"method":{"description":"Method\n\nShould be set to profile when trying to update a profile.","type":"string"},"traits":{"description":"The identity's traits\n\nin: body","type":"object"},"unlink":{"description":"Unlink this provider\n\nEither this or `link` must be set.\n\ntype: string\nin: body","type":"string"}},"required":["method"],"type":"object"},"submitSelfServiceSettingsFlowWithPasswordMethodBody":{"properties":{"csrf_token":{"description":"CSRFToken is the anti-CSRF token","type":"string"},"method":{"description":"Method\n\nShould be set to password when trying to update a password.","type":"string"},"password":{"description":"Password is the updated password","type":"string"}},"required":["password","method"],"type":"object"},"submitSelfServiceSettingsFlowWithProfileMethodBody":{"description":"nolint:deadcode,unused","properties":{"csrf_token":{"description":"The Anti-CSRF Token\n\nThis token is only required when performing browser flows.","type":"string"},"method":{"description":"Method\n\nShould be set to profile when trying to update a profile.","type":"string"},"traits":{"description":"Traits contains all of the identity's traits.","type":"object"}},"required":["traits","method"],"type":"object"},"submitSelfServiceSettingsFlowWithTotpMethodBody":{"properties":{"csrf_token":{"description":"CSRFToken is the anti-CSRF token","type":"string"},"method":{"description":"Method\n\nShould be set to \"totp\" when trying to add, update, or remove a totp pairing.","type":"string"},"totp_code":{"description":"ValidationTOTP must contain a valid TOTP based on the","type":"string"},"totp_unlink":{"description":"UnlinkTOTP if true will remove the TOTP pairing,\neffectively removing the credential. This can be used\nto set up a new TOTP device.","type":"boolean"}},"required":["method"],"type":"object"},"submitSelfServiceSettingsFlowWithWebAuthnMethodBody":{"properties":{"csrf_token":{"description":"CSRFToken is the anti-CSRF token","type":"string"},"method":{"description":"Method\n\nShould be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing.","type":"string"},"webauthn_register":{"description":"Register a WebAuthn Security Key\n\nIt is expected that the JSON returned by the WebAuthn registration process\nis included here.","type":"string"},"webauthn_register_displayname":{"description":"Name of the WebAuthn Security Key to be Added\n\nA human-readable name for the security key which will be added.","type":"string"},"webauthn_remove":{"description":"Remove a WebAuthn Security Key\n\nThis must contain the ID of the WebAuthN connection.","type":"string"}},"required":["method"],"type":"object"},"submitSelfServiceVerificationFlowBody":{"description":"nolint:deadcode,unused","discriminator":{"mapping":{"link":"#/components/schemas/submitSelfServiceVerificationFlowWithLinkMethodBody"},"propertyName":"method"},"oneOf":[{"$ref":"#/components/schemas/submitSelfServiceVerificationFlowWithLinkMethodBody"}]},"submitSelfServiceVerificationFlowWithLinkMethodBody":{"properties":{"csrf_token":{"description":"Sending the anti-csrf token is only required for browser login flows.","type":"string"},"email":{"description":"Email to Verify\n\nNeeds to be set when initiating the flow. If the email is a registered\nverification email, a verification link will be sent. If the email is not known,\na email with details on what happened will be sent instead.\n\nformat: email","type":"string"},"method":{"description":"Method supports `link` only right now.","type":"string"}},"required":["email","method"],"type":"object"},"subscription":{"properties":{"created_at":{"format":"date-time","readOnly":true,"type":"string"},"current_plan":{"description":"The currently active plan of the subscription\nunknown Unknown\nfree Free\nstart_up_monthly StartUpMonthly\nstart_up_yearly StartUpYearly\ncustom Custom","enum":["unknown","free","start_up_monthly","start_up_yearly","custom"],"readOnly":true,"type":"string","x-go-enum-desc":"unknown Unknown\nfree Free\nstart_up_monthly StartUpMonthly\nstart_up_yearly StartUpYearly\ncustom Custom"},"customer_id":{"description":"The ID of the stripe customer","readOnly":true,"type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"ongoing_stripe_checkout_id":{"$ref":"#/components/schemas/String"},"payed_until":{"description":"Until when the subscription is payed","format":"date-time","readOnly":true,"type":"string"},"plan_changes_at":{"$ref":"#/components/schemas/Time"},"plan_changes_to":{"$ref":"#/components/schemas/NullPlan"},"status":{"$ref":"#/components/schemas/SubscriptionStatus"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["id","customer_id","status","payed_until","current_plan","plan_changes_to","created_at","updated_at"],"type":"object"},"successfulProjectUpdate":{"properties":{"project":{"$ref":"#/components/schemas/project"},"warnings":{"description":"Import Warnings\n\nNot all configuration items can be imported to Ory Cloud. For example,\nsetting the port does not make sense because Ory Cloud provides the runtime\nand networking.\n\nThis field contains warnings where configuration keys were found but can not\nbe imported. These keys will be ignored by Ory Cloud. This field will help\nyou understand why certain configuration keys might not be respected!","items":{"$ref":"#/components/schemas/Warning"},"type":"array"}},"required":["project","warnings"],"type":"object"},"successfulSelfServiceLoginWithoutBrowser":{"description":"The Response for Login Flows via API","properties":{"session":{"$ref":"#/components/schemas/session"},"session_token":{"description":"The Session Token\n\nA session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization\nHeader:\n\nAuthorization: bearer ${session-token}\n\nThe session token is only issued for API flows, not for Browser flows!","type":"string"}},"required":["session"],"type":"object"},"successfulSelfServiceRegistrationWithoutBrowser":{"description":"The Response for Registration Flows via API","properties":{"identity":{"$ref":"#/components/schemas/identity"},"session":{"$ref":"#/components/schemas/session"},"session_token":{"description":"The Session Token\n\nThis field is only set when the session hook is configured as a post-registration hook.\n\nA session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization\nHeader:\n\nAuthorization: bearer ${session-token}\n\nThe session token is only issued for API flows, not for Browser flows!","type":"string"}},"required":["identity"],"type":"object"},"tokenPagination":{"properties":{"page_size":{"default":250,"description":"Items per page\n\nThis is the number of items per page to return.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).","format":"int64","maximum":1000,"minimum":1,"type":"integer"},"page_token":{"default":"1","description":"Next Page Token\n\nThe next page token.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).","minimum":1,"type":"string"}},"type":"object"},"tokenPaginationHeaders":{"properties":{"link":{"description":"The link header contains pagination links.\n\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).\n\nin: header","type":"string"},"x-total-count":{"description":"The total number of clients.\n\nin: header","type":"string"}},"type":"object"},"uiContainer":{"description":"Container represents a HTML Form. The container can work with both HTTP Form and JSON requests","properties":{"action":{"description":"Action should be used as the form action URL ``.","type":"string"},"messages":{"$ref":"#/components/schemas/uiTexts"},"method":{"description":"Method is the form method (e.g. POST)","type":"string"},"nodes":{"$ref":"#/components/schemas/uiNodes"}},"required":["action","method","nodes"],"type":"object"},"uiNode":{"description":"Nodes are represented as HTML elements or their native UI equivalents. For example,\na node can be an `` tag, or an `` but also `some plain text`.","properties":{"attributes":{"$ref":"#/components/schemas/uiNodeAttributes"},"group":{"description":"Group specifies which group (e.g. password authenticator) this node belongs to.","enum":["default","password","oidc","profile","link","totp","lookup_secret","webauthn"],"type":"string"},"messages":{"$ref":"#/components/schemas/uiTexts"},"meta":{"$ref":"#/components/schemas/uiNodeMeta"},"type":{"description":"The node's type","enum":["text","input","img","a","script"],"type":"string"}},"required":["type","group","attributes","messages","meta"],"title":"Node represents a flow's nodes","type":"object"},"uiNodeAnchorAttributes":{"properties":{"href":{"description":"The link's href (destination) URL.\n\nformat: uri","type":"string"},"id":{"description":"A unique identifier","type":"string"},"node_type":{"description":"NodeType represents this node's types. It is a mirror of `node.type` and\nis primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"a\".","type":"string"},"title":{"$ref":"#/components/schemas/uiText"}},"required":["href","title","id","node_type"],"title":"AnchorAttributes represents the attributes of an anchor node.","type":"object"},"uiNodeAttributes":{"discriminator":{"mapping":{"a":"#/components/schemas/uiNodeAnchorAttributes","img":"#/components/schemas/uiNodeImageAttributes","input":"#/components/schemas/uiNodeInputAttributes","script":"#/components/schemas/uiNodeScriptAttributes","text":"#/components/schemas/uiNodeTextAttributes"},"propertyName":"node_type"},"oneOf":[{"$ref":"#/components/schemas/uiNodeInputAttributes"},{"$ref":"#/components/schemas/uiNodeTextAttributes"},{"$ref":"#/components/schemas/uiNodeImageAttributes"},{"$ref":"#/components/schemas/uiNodeAnchorAttributes"},{"$ref":"#/components/schemas/uiNodeScriptAttributes"}],"title":"Attributes represents a list of attributes (e.g. `href=\"foo\"` for links)."},"uiNodeImageAttributes":{"properties":{"height":{"description":"Height of the image","format":"int64","type":"integer"},"id":{"description":"A unique identifier","type":"string"},"node_type":{"description":"NodeType represents this node's types. It is a mirror of `node.type` and\nis primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\".","type":"string"},"src":{"description":"The image's source URL.\n\nformat: uri","type":"string"},"width":{"description":"Width of the image","format":"int64","type":"integer"}},"required":["src","id","width","height","node_type"],"title":"ImageAttributes represents the attributes of an image node.","type":"object"},"uiNodeInputAttributes":{"description":"InputAttributes represents the attributes of an input node","properties":{"autocomplete":{"description":"The autocomplete attribute for the input.","enum":["email","tel","url","current-password","new-password","one-time-code"],"type":"string"},"disabled":{"description":"Sets the input's disabled field to true or false.","type":"boolean"},"label":{"$ref":"#/components/schemas/uiText"},"name":{"description":"The input's element name.","type":"string"},"node_type":{"description":"NodeType represents this node's types. It is a mirror of `node.type` and\nis primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\".","type":"string"},"onclick":{"description":"OnClick may contain javascript which should be executed on click. This is primarily\nused for WebAuthn.","type":"string"},"pattern":{"description":"The input's pattern.","type":"string"},"required":{"description":"Mark this input field as required.","type":"boolean"},"type":{"description":"The input's element type.","type":"string"},"value":{"description":"The input's value.","nullable":true}},"required":["name","type","disabled","node_type"],"type":"object"},"uiNodeMeta":{"description":"This might include a label and other information that can optionally\nbe used to render UIs.","properties":{"label":{"$ref":"#/components/schemas/uiText"}},"title":"A Node's Meta Information","type":"object"},"uiNodeScriptAttributes":{"properties":{"async":{"description":"The script async type","type":"boolean"},"crossorigin":{"description":"The script cross origin policy","type":"string"},"id":{"description":"A unique identifier","type":"string"},"integrity":{"description":"The script's integrity hash","type":"string"},"node_type":{"description":"NodeType represents this node's types. It is a mirror of `node.type` and\nis primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\".","type":"string"},"nonce":{"description":"Nonce for CSP\n\nA nonce you may want to use to improve your Content Security Policy.\nYou do not have to use this value but if you want to improve your CSP\npolicies you may use it. You can also choose to use your own nonce value!","type":"string"},"referrerpolicy":{"description":"The script referrer policy","type":"string"},"src":{"description":"The script source","type":"string"},"type":{"description":"The script MIME type","type":"string"}},"required":["src","async","referrerpolicy","crossorigin","integrity","type","id","nonce","node_type"],"title":"ScriptAttributes represent script nodes which load javascript.","type":"object"},"uiNodeTextAttributes":{"properties":{"id":{"description":"A unique identifier","type":"string"},"node_type":{"description":"NodeType represents this node's types. It is a mirror of `node.type` and\nis primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"text\".","type":"string"},"text":{"$ref":"#/components/schemas/uiText"}},"required":["text","id","node_type"],"title":"TextAttributes represents the attributes of a text node.","type":"object"},"uiNodes":{"items":{"$ref":"#/components/schemas/uiNode"},"type":"array"},"uiText":{"properties":{"context":{"description":"The message's context. Useful when customizing messages.","type":"object"},"id":{"$ref":"#/components/schemas/ID"},"text":{"description":"The message text. Written in american english.","type":"string"},"type":{"$ref":"#/components/schemas/uiTextType"}},"required":["id","text","type"],"type":"object"},"uiTextType":{"type":"string"},"uiTexts":{"items":{"$ref":"#/components/schemas/uiText"},"type":"array"},"updateCustomHostnameBody":{"properties":{"cookie_domain":{"description":"The domain where cookies will be set. Has to be a parent domain of the custom hostname to work.","type":"string"},"cors_allowed_origins":{"description":"CORS Allowed origins for the custom hostname.","items":{"type":"string"},"type":"array"},"cors_enabled":{"description":"CORS Enabled for the custom hostname.","type":"boolean"},"hostname":{"description":"The custom hostname where the API will be exposed.","type":"string"}},"type":"object"},"updateProject":{"properties":{"name":{"description":"The name of the project.","type":"string"},"services":{"$ref":"#/components/schemas/projectServices"}},"required":["services","name"],"type":"object"},"verifiableIdentityAddress":{"description":"VerifiableAddress is an identity's verifiable address","properties":{"created_at":{"description":"When this entry was created","example":"2014-01-01T23:28:56.782Z","format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"status":{"$ref":"#/components/schemas/identityVerifiableAddressStatus"},"updated_at":{"description":"When this entry was last updated","example":"2014-01-01T23:28:56.782Z","format":"date-time","type":"string"},"value":{"description":"The address value\n\nexample foo@user.com","type":"string"},"verified":{"description":"Indicates if the address has already been verified","example":true,"type":"boolean"},"verified_at":{"$ref":"#/components/schemas/nullTime"},"via":{"$ref":"#/components/schemas/identityVerifiableAddressType"}},"required":["value","verified","via","status"],"type":"object"},"version":{"properties":{"version":{"description":"Version is the service's version.","type":"string"}},"type":"object"},"webAuthnJavaScript":{"type":"string"}},"securitySchemes":{"oryAccessToken":{"scheme":"bearer","type":"http"}}},"info":{"contact":{"email":"support@ory.sh","name":"API Support"},"description":"Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed\nwith a valid Personal Access Token. Public APIs are mostly used in browsers.\n","license":{"name":"Apache 2.0","url":"https://www.apache.org/licenses/LICENSE-2.0.html"},"termsOfService":"/ptos","title":"Ory APIs","version":"v0.2.0-alpha.4"},"openapi":"3.0.3","paths":{"/.well-known/ory/webauthn.js":{"get":{"description":"This endpoint provides JavaScript which is needed in order to perform WebAuthn login and registration.\n\nIf you are building a JavaScript Browser App (e.g. in ReactJS or AngularJS) you will need to load this file:\n\n```html\n