Forms & Surveys

Outcomes

Outcomes are the results your organisation measures, such as "Qualification achievement" or "Hours worked". Form questions, survey answers, outcomes recorded on notes and events refer to an outcome by its outcomeId. Use this endpoint to look up each outcome's name, type and options.

List Outcomes

Endpoint

GET /api/v1/outcomes

Query Parameters

Pagination:

  • limit (number, default: 100, min: 1, max: 250) - Maximum number of outcomes to return
  • offset (number, default: 0) - Number of outcomes to skip for pagination

Filtering:

  • includeArchived (boolean, default: false) - Also return archived outcomes. Older survey answers and notes can refer to an outcome that has since been archived.

Response

{
  "outcomes": [
    {
      "outcomeId": "mkuw5c8oSKN6zLkB3zjX",
      "name": "Qualification achievement",
      "type": "multipleChoice",
      "options": ["AQA Level 1", "AQA Level 2"],
      "min": null,
      "max": null,
      "allowMultiple": false,
      "description": null,
      "tags": ["employment"],
      "isArchived": false,
      "sharedBy": null
    },
    {
      "outcomeId": "T9JgdQ4vJsLfEn21wbYk",
      "name": "Hours worked",
      "type": "numeric",
      "options": [],
      "min": 0,
      "max": 40,
      "allowMultiple": false,
      "description": "Hours worked in the last week",
      "tags": [],
      "isArchived": false,
      "sharedBy": "funderOrg123"
    }
  ],
  "offset": 0,
  "limit": 100,
  "total": 2
}

Outcome Object

FieldTypeDescription
outcomeIdstringUnique outcome identifier. This is the value in outcome on form questions, survey answers and note outcomes, and in outcomeIds on events
namestringOutcome name
typestringboolean, numeric or multipleChoice
optionsarrayThe choices for a multipleChoice outcome; empty for other types
minnumber/nullLowest allowed value for a numeric outcome
maxnumber/nullHighest allowed value for a numeric outcome
allowMultiplebooleanWhether more than one option can be chosen for a multipleChoice outcome
descriptionstring/nullDescription
tagsarrayTags on the outcome
isArchivedbooleanWhether the outcome is archived
sharedBystring/nullFor an outcome another organisation (for example a funder) shares with yours, that organisation's ID; null for your own outcomes

Error Responses

StatusDescription
400Bad Request - Invalid parameters, or organisationId missing when signed in as a user
401Unauthorized - Invalid or missing API key, or no access to the organisation
500Internal Server Error
Previous
Survey Responses