---
title: "List a project's nightly dreams, newest first, with the schedule and the runs waiting for the next one"
method: GET
path: "/api/v1/organizations/{organization_id}/verify/dreams"
tags: ["organizations"]
---

# List a project's nightly dreams, newest first, with the schedule and the runs waiting for the next one

`GET /api/v1/organizations/{organization_id}/verify/dreams`

## Request

- Base URL: `https://composal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://composal.com/api/v1/organizations/{organization_id}/verify/dreams`
- Auth: HTTP bearer

## Path parameters

- `organization_id` string, required

## Query parameters

- `project_id` string, required
- `page` integer

## Response `200`

One page of 25 dreams for the project, newest first

- VerifyDreamsPage
  - `permissions` object, required
    - `manage` boolean, required
  - `schedule` VerifyDreamSchedule, required
    - `timezone` string, required: Organization IANA timezone dreams are scheduled in
    - `start_hour` integer, required: Local 24-hour clock hour a dream starts
    - `next_at` string, date-time, required: Next scheduled start
  - `waiting_runs` integer, required: Finished runs and blocked executions the next dream will review
  - `dreams` VerifyDreamSummary[], required
    - `id` string, required: Public id used in the dream's URL
    - `reviewed_date` string, date, required: Local day whose finished runs it reviewed
    - `timezone` string, required: Organization timezone the dream used
    - `scope_name` string, required: Project or unassigned environment name
    - `phase` 'queued' | 'running' | 'stalled' | 'paused' | 'stopped' | 'completed' | 'stopped_early', required: Where the dream is. queued: waiting for a worker. running: a worker holds it. stalled: marked running but no worker holds it. paused: it hit an error and the periodic sweep still resumes it. stopped: it hit an error and is no longer retried automatically; only an administrator can resume it. completed: finished normally. stopped_early: finished, but ended before reviewing everything because its project or environment became unavailable.
    - `attention` boolean, required: The dream skipped at least one run, which will not be retried
    - `reviewed` integer, required: Finished runs and blocked executions reviewed, not counting skipped ones
    - `skipped` integer, required: Runs skipped after repeated rejected review output
    - `changes` integer, required: Knowledge and memory entries created, updated or archived
    - `completed_at` string, date-time, nullable, required
    - `error_code` string, nullable, required: Diagnostic code from the last failure, or from a dream that stopped early; not display copy, show reason instead
    - `reason` string, nullable, required: Plain-language explanation of the phase: the cause and what happens next. Null for queued, running and completed dreams.
  - `pagination` VerifyRunsPagination, required
    - `count` integer, required
    - `page` integer, required
    - `limit` integer, required
    - `last` integer, required
    - `previous` integer, nullable, required
    - `next` integer, nullable, required
    - `series` union[], required
      - union
        - integer
        - string

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Project not found in this organization
- `422`: Unprocessable entity
- `502`: Bad gateway

---

[API](https://skmtc.dev/composal/apis/vex-api.md) - [All operations](https://skmtc.dev/composal/apis/vex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/composal/apis/vex-api/revisions/74298a24e040?raw)
