{
  "components": {
    "schemas": {
      "Assessment": {
        "description": "One assessment, as an API client or a widget visitor sees it.",
        "properties": {
          "channel": {
            "description": "`text` or `voice`. Fixed at start.",
            "enum": [
              "text",
              "voice"
            ],
            "title": "Channel",
            "type": "string"
          },
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When the score was ready. Null until the status is `completed`.",
            "title": "Completed At"
          },
          "conversation_completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When the conversation ended. Null before that.",
            "title": "Conversation Completed At"
          },
          "created_at": {
            "description": "When the assessment was started.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "The assessment id.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "locale": {
            "description": "The language the assessment runs in (BCP 47).",
            "title": "Locale",
            "type": "string"
          },
          "methodology_id": {
            "description": "The methodology the assessment uses.",
            "format": "uuid",
            "title": "Methodology Id",
            "type": "string"
          },
          "partial": {
            "description": "`true` when the assessment was not fully scored: the conversation ended early, or at least one situation is void (has no result). Only what was scored counts, and what is missing is not a low score. A partial assessment can still have a `score`: the overall is null when a competency is void or the conversation ended early, but not when the void situations sit inside competencies that all have a result. Read it with `score` once the status is `completed`.",
            "title": "Partial",
            "type": "boolean"
          },
          "score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "The overall platform score. Null until the status is `completed`. It also stays null on a completed assessment when a competency is void (has no result) or the conversation ended early; `partial` is then `true`.",
            "title": "Score"
          },
          "started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When the person sent their first turn. Null before that.",
            "title": "Started At"
          },
          "status": {
            "description": "`in_progress` while the conversation runs, `paused`, `scoring` once it has ended, `completed` when the score is ready; `failed` and `stopped` are final. `abandoned` means the conversation was left idle; the widget visitor who owns it can reopen it.",
            "enum": [
              "in_progress",
              "scoring",
              "paused",
              "completed",
              "stopped",
              "failed",
              "abandoned"
            ],
            "title": "Status",
            "type": "string"
          },
          "tenant_end_user_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The widget visitor assessed. Null when the person is a member.",
            "title": "Tenant End User Id"
          },
          "tenant_user_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "The member assessed. Null when the person is a widget visitor.",
            "title": "Tenant User Id"
          }
        },
        "required": [
          "id",
          "tenant_user_id",
          "tenant_end_user_id",
          "methodology_id",
          "status",
          "locale",
          "channel",
          "created_at",
          "started_at",
          "conversation_completed_at",
          "completed_at",
          "score",
          "partial"
        ],
        "title": "Assessment",
        "type": "object"
      },
      "AssessmentPatch": {
        "additionalProperties": false,
        "description": "JSON Merge Patch body for a widget visitor's `PATCH /v1/assessments/{id}`.\n\nNode `2026-11-13-widget-paste-styling-resume` (D10): the only change a\nvisitor can make is reopening their own abandoned assessment, so the patch\nhas one member with one value. Unknown members, any other value, `null`\nand an empty patch all fail validation (422).",
        "properties": {
          "status": {
            "const": "in_progress",
            "description": "`in_progress` reopens an abandoned assessment so the conversation can continue. It is the only value accepted.",
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "AssessmentPatch",
        "type": "object"
      },
      "EvaluationCreate": {
        "description": "The assessment to start: who it is for (exactly one owner), the\nmethodology, and the language.",
        "properties": {
          "channel": {
            "default": "text",
            "enum": [
              "text",
              "voice"
            ],
            "title": "Channel",
            "type": "string"
          },
          "individual_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Individual Id"
          },
          "locale": {
            "title": "Locale",
            "type": "string"
          },
          "methodology_id": {
            "format": "uuid",
            "title": "Methodology Id",
            "type": "string"
          },
          "tenant_end_user_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tenant End User Id"
          },
          "tenant_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tenant Id"
          },
          "tenant_user_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tenant User Id"
          }
        },
        "required": [
          "methodology_id",
          "locale"
        ],
        "title": "EvaluationCreate",
        "type": "object"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "title": "Detail",
            "type": "array"
          }
        },
        "title": "HTTPValidationError",
        "type": "object"
      },
      "MemberEvaluationCreate": {
        "additionalProperties": false,
        "properties": {
          "channel": {
            "default": "text",
            "description": "`text` or `voice`. Immutable once the run is created.",
            "enum": [
              "text",
              "voice"
            ],
            "title": "Channel",
            "type": "string"
          },
          "locale": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "BCP-47 tag for the conversation. Defaults to the member's preferred locale, then the methodology's default.",
            "title": "Locale"
          },
          "methodology_id": {
            "description": "A methodology your organisation has adopted.",
            "format": "uuid",
            "title": "Methodology Id",
            "type": "string"
          }
        },
        "required": [
          "methodology_id"
        ],
        "title": "MemberEvaluationCreate",
        "type": "object"
      },
      "Page_Assessment_": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Assessment"
            },
            "title": "Items",
            "type": "array"
          },
          "page": {
            "title": "Page",
            "type": "integer"
          },
          "page_size": {
            "title": "Page Size",
            "type": "integer"
          },
          "pages": {
            "title": "Pages",
            "type": "integer"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "page",
          "page_size",
          "pages"
        ],
        "title": "Page[Assessment]",
        "type": "object"
      },
      "ValidationError": {
        "properties": {
          "ctx": {
            "title": "Context",
            "type": "object"
          },
          "input": {
            "title": "Input"
          },
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location",
            "type": "array"
          },
          "msg": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "title": "Error Type",
            "type": "string"
          }
        },
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError",
        "type": "object"
      },
      "AssessmentReport": {
        "description": "The person's report of one assessment, as the platform recorded it.",
        "properties": {
          "assessment_id": {
            "description": "The assessment the report belongs to.",
            "format": "uuid",
            "title": "Assessment Id",
            "type": "string"
          },
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When the results, this report included, were ready.",
            "title": "Completed At"
          },
          "locale": {
            "description": "The language the report is written in: the language the assessment ran in.",
            "title": "Locale",
            "type": "string"
          },
          "schema_version": {
            "description": "The version of the `user_report` object's shape. Fields are only added within a version; a removed or renamed field comes with a new version.",
            "title": "Schema Version",
            "type": "integer"
          },
          "user_report": {
            "additionalProperties": true,
            "description": "The report exactly as recorded: an executive summary, a profile summary, one section per competency (pattern, strength, growth area, tactics, resources, a monthly challenge), development axes and recommendations. Every text field is markdown, except the quotes (`*_quote` and `quote` in the `strengths` and `growth_areas` lists), which are the candidate's words copied exactly and are plain text. The Wiselook portal renders this same object.",
            "title": "User Report",
            "type": "object"
          }
        },
        "required": [
          "assessment_id",
          "locale",
          "completed_at",
          "schema_version",
          "user_report"
        ],
        "title": "AssessmentReport",
        "type": "object"
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "bearerFormat": "JWT",
        "description": "OAuth2 access token (client_credentials grant for tenant backends; visitor JWT for widget visitors). Validated by the gateway; the service trusts the gateway-stamped identity headers downstream.",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "title": "Wiselook Assessment Service",
    "version": "0.1.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/v1/assessments": {
      "get": {
        "description": "Lists the assessments your token can see, newest first, one page at a time. A tenant API client sees its organisation's assessments (it needs the `evaluations:read` permission); a widget visitor sees only their own.\n\nFilters combine with AND. To fetch what finished since your last sync, pass `status=completed` and `completed_from`.",
        "operationId": "list_evaluations_v1_assessments_get",
        "parameters": [
          {
            "description": "1-based page number.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "description": "1-based page number.",
              "minimum": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "description": "Rows per page. Default 50; a larger value is clamped to 200 and the applied size is echoed.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 50,
              "description": "Rows per page. Default 50; a larger value is clamped to 200 and the applied size is echoed.",
              "minimum": 1,
              "title": "Page Size",
              "type": "integer"
            }
          },
          {
            "description": "Only these statuses. Repeatable: `status=completed&status=failed`.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "enum": [
                      "in_progress",
                      "scoring",
                      "paused",
                      "completed",
                      "stopped",
                      "failed",
                      "abandoned"
                    ],
                    "type": "string"
                  },
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Only these statuses. Repeatable: `status=completed&status=failed`.",
              "title": "Status"
            }
          },
          {
            "description": "Only these methodologies. Repeatable.",
            "in": "query",
            "name": "methodology_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "format": "uuid",
                    "type": "string"
                  },
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Only these methodologies. Repeatable.",
              "title": "Methodology Id"
            }
          },
          {
            "description": "Started on or after this time (ISO 8601).",
            "in": "query",
            "name": "created_from",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Started on or after this time (ISO 8601).",
              "title": "Created From"
            }
          },
          {
            "description": "Started before this time (ISO 8601).",
            "in": "query",
            "name": "created_to",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Started before this time (ISO 8601).",
              "title": "Created To"
            }
          },
          {
            "description": "Completed on or after this time (ISO 8601). Use it to fetch what finished since your last sync.",
            "in": "query",
            "name": "completed_from",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Completed on or after this time (ISO 8601). Use it to fetch what finished since your last sync.",
              "title": "Completed From"
            }
          },
          {
            "description": "Completed before this time (ISO 8601).",
            "in": "query",
            "name": "completed_to",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Completed before this time (ISO 8601).",
              "title": "Completed To"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Page_Assessment_"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List assessments",
        "tags": [
          "Assessments"
        ]
      },
      "post": {
        "description": "Starts an assessment and returns it. Use the returned `id` as `evaluation_id` to run the conversation.",
        "operationId": "start_evaluation_v1_assessments_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvaluationCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Assessment"
                }
              }
            },
            "description": "Successful Response"
          },
          "409": {
            "description": "`pinned_release_not_served`: a release pin Wiselook set for your organisation names an agent release that is no longer served. Nothing is created; contact Wiselook support."
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Start assessment",
        "tags": [
          "Assessments"
        ]
      }
    },
    "/v1/assessments/{evaluation_id}": {
      "get": {
        "description": "Returns one assessment. Scoring runs after the conversation ends, so poll until the status is `completed`; `score` is null until then.\n\nAn assessment the caller cannot see answers 404.",
        "operationId": "get_evaluation_v1_assessments__evaluation_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "evaluation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Evaluation Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Assessment"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get assessment",
        "tags": [
          "Assessments"
        ]
      },
      "patch": {
        "description": "Reopens an abandoned assessment so the visitor can carry on where they left off. Widget visitors only, on their own assessments.\n\nSend a JSON Merge Patch (RFC 7386) as `application/merge-patch+json`. The only accepted patch is `{\"status\": \"in_progress\"}`; anything else answers 422.\n\nReturns the assessment. An assessment that is already `in_progress` is returned unchanged. Any other status answers 409 `assessment_not_reopenable`. An assessment the caller cannot see answers 404.",
        "operationId": "patch_evaluation_v1_assessments__evaluation_id__patch",
        "parameters": [
          {
            "in": "path",
            "name": "evaluation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Evaluation Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/merge-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AssessmentPatch"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Assessment"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Reopen assessment",
        "tags": [
          "Assessments"
        ]
      }
    },
    "/v1/members/{tenant_user_id}/assessments": {
      "get": {
        "description": "Lists one member's assessments, newest first, one page at a time, with the same filters as `GET /v1/assessments`.\n\nThe member must belong to your organisation; an unknown member or another organisation's answers 404. A removed member's past assessments are still listed.",
        "operationId": "list_member_evaluations_v1_members__tenant_user_id__assessments_get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_user_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Tenant User Id",
              "type": "string"
            }
          },
          {
            "description": "1-based page number.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "description": "1-based page number.",
              "minimum": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "description": "Rows per page. Default 50; a larger value is clamped to 200 and the applied size is echoed.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 50,
              "description": "Rows per page. Default 50; a larger value is clamped to 200 and the applied size is echoed.",
              "minimum": 1,
              "title": "Page Size",
              "type": "integer"
            }
          },
          {
            "description": "Only these statuses. Repeatable: `status=completed&status=failed`.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "enum": [
                      "in_progress",
                      "scoring",
                      "paused",
                      "completed",
                      "stopped",
                      "failed",
                      "abandoned"
                    ],
                    "type": "string"
                  },
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Only these statuses. Repeatable: `status=completed&status=failed`.",
              "title": "Status"
            }
          },
          {
            "description": "Only these methodologies. Repeatable.",
            "in": "query",
            "name": "methodology_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "format": "uuid",
                    "type": "string"
                  },
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Only these methodologies. Repeatable.",
              "title": "Methodology Id"
            }
          },
          {
            "description": "Started on or after this time (ISO 8601).",
            "in": "query",
            "name": "created_from",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Started on or after this time (ISO 8601).",
              "title": "Created From"
            }
          },
          {
            "description": "Started before this time (ISO 8601).",
            "in": "query",
            "name": "created_to",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Started before this time (ISO 8601).",
              "title": "Created To"
            }
          },
          {
            "description": "Completed on or after this time (ISO 8601). Use it to fetch what finished since your last sync.",
            "in": "query",
            "name": "completed_from",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Completed on or after this time (ISO 8601). Use it to fetch what finished since your last sync.",
              "title": "Completed From"
            }
          },
          {
            "description": "Completed before this time (ISO 8601).",
            "in": "query",
            "name": "completed_to",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Completed before this time (ISO 8601).",
              "title": "Completed To"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Page_Assessment_"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "List one of your members' assessments",
        "tags": [
          "Assessments"
        ]
      },
      "post": {
        "description": "Creates an assessment for a member of your organisation and returns the evaluation to drive the conversation with.\n\n**Consent is yours to obtain.** You are the data controller for your members. Starting an assessment notifies nobody: Wiselook assumes you have the member's agreement before you call this.\n\nThe member must already exist on your Members list — this endpoint never creates people. Use the returned `id` as `evaluation_id` on `POST /v1/chat/messages` to run the conversation.",
        "operationId": "start_member_evaluation_v1_members__tenant_user_id__assessments_post",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_user_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Tenant User Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MemberEvaluationCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Assessment"
                }
              }
            },
            "description": "Successful Response"
          },
          "409": {
            "description": "`pinned_release_not_served`: a release pin Wiselook set for your organisation names an agent release that is no longer served. Nothing is created; contact Wiselook support."
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Start an assessment for one of your members",
        "tags": [
          "Assessments"
        ]
      }
    },
    "/v1/members/{tenant_user_id}/assessments/{evaluation_id}": {
      "get": {
        "description": "Returns the assessment and, once scoring finishes, its score.\n\nScoring runs after the conversation ends, so a read taken immediately reports `scoring` with a null score. Poll until the status is `completed`.",
        "operationId": "get_member_evaluation_v1_members__tenant_user_id__assessments__evaluation_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_user_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Tenant User Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "evaluation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Evaluation Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Assessment"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Read one of your members' assessments",
        "tags": [
          "Assessments"
        ]
      }
    },
    "/v1/assessments/{evaluation_id}/report": {
      "get": {
        "description": "Returns the person's report of an assessment, exactly as the platform recorded it, once the assessment is `completed`. While the assessment runs, is scored or its report is being written the answer is `409 report_pending`: read the assessment and try again when its status is `completed`. An assessment that failed, was stopped or abandoned has no report (`404 report_not_found`). An assessment the caller cannot see answers `404`. Requires `evaluations:read`.",
        "operationId": "get_assessment_report_v1_assessments__evaluation_id__report_get",
        "parameters": [
          {
            "in": "path",
            "name": "evaluation_id",
            "required": true,
            "schema": {
              "title": "Evaluation Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssessmentReport"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get an assessment's report",
        "tags": [
          "Reports"
        ]
      }
    },
    "/v1/members/{tenant_user_id}/assessments/{evaluation_id}/report": {
      "get": {
        "description": "Returns the person's report of an assessment, exactly as the platform recorded it, once the assessment is `completed`. While the assessment runs, is scored or its report is being written the answer is `409 report_pending`: read the assessment and try again when its status is `completed`. An assessment that failed, was stopped or abandoned has no report (`404 report_not_found`). An assessment the caller cannot see answers `404`. Requires `evaluations:read`. The member must belong to your organisation and the assessment must be that member's; otherwise `404`.",
        "operationId": "get_member_assessment_report_v1_members__tenant_user_id__assessments__evaluation_id__report_get",
        "parameters": [
          {
            "in": "path",
            "name": "tenant_user_id",
            "required": true,
            "schema": {
              "title": "Tenant User Id",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "evaluation_id",
            "required": true,
            "schema": {
              "title": "Evaluation Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssessmentReport"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ],
        "summary": "Get a member's assessment report",
        "tags": [
          "Reports"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://api.wiselook.com",
      "description": "Wiselook public API"
    }
  ]
}
