> ## Documentation Index
> Fetch the complete documentation index at: https://docs.plungeai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# One item in full

> One item in full


## OpenAPI

```yaml openapi.json get /v1/companies/{campus}/items/{id}
openapi: 3.1.0
info:
  title: Ocean One API
  version: 2.5.0
servers:
  - url: https://api.plungeai.com
paths:
  /v1/companies/{campus}/items/{id}:
    get:
      operationId: get-v1-companies-campus-items-id
      tags:
        - Companies
      summary: One item in full
      description: The item with its bodies (`body`, `last_output`, `steer` — the snapshot leaves them out), every office run, every approval and its own events. A foreign or unknown id is 404.
      security:
        - ozkBearer: []
      parameters:
        - name: campus
          in: path
          required: true
          schema:
            type: string
          description: The company’s slug (`plunge`), never a row id
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Item id
        - name: format
          in: query
          schema:
            type: string
            enum:
              - json
              - yaml
              - markdown
              - text
          description: Response format; overrides Accept (an unknown value is 400 invalid_format)
      responses:
        "200":
          description: The item Response format negotiates via the `format` field, an Accept header (application/json, text/yaml, text/markdown, text/plain), or the request Content-Type mirror; default JSON.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  campus:
                    type: string
                  building:
                    type: string
                  title:
                    type: string
                  body:
                    type: string
                  kind:
                    type: string
                    enum:
                      - feature
                      - bugfix
                      - docs
                      - research
                      - content
                      - task
                  source:
                    type: string
                    enum:
                      - api
                      - bot
                      - schedule
                      - then
                      - node
                  priority:
                    type: integer
                  tier:
                    type:
                      - string
                      - "null"
                    description: The standard’s tier word (`T2`, `V1`); null until set
                  step:
                    type: string
                    description: "`intake`, a step id of the building’s pipeline, `done` or `parked`"
                  attempt:
                    type: integer
                  status:
                    type: string
                    enum:
                      - active
                      - done
                      - failed
                      - parked
                  parked_reason:
                    type:
                      - string
                      - "null"
                  paused:
                    type: integer
                    enum:
                      - 0
                      - 1
                  steer:
                    type:
                      - string
                      - "null"
                  last_output:
                    type:
                      - string
                      - "null"
                    description: The previous step’s output, the next office’s `{input}`
                  cost_usd:
                    type: number
                  parent_item_id:
                    type:
                      - string
                      - "null"
                  created_at:
                    type: string
                  updated_at:
                    type: string
                  runs:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        item_id:
                          type: string
                        building:
                          type: string
                        step:
                          type: string
                        office:
                          type: string
                        kind:
                          type: string
                          enum:
                            - platform
                            - node
                        ref:
                          type:
                            - string
                            - "null"
                          description: The execution id of a platform run
                        status:
                          type: string
                          enum:
                            - running
                            - ok
                            - failed
                            - cancelled
                        cost_usd:
                          type: number
                        error:
                          type:
                            - string
                            - "null"
                        started_at:
                          type: string
                        ended_at:
                          type:
                            - string
                            - "null"
                    description: Every office run, oldest first
                  approvals:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        item_id:
                          type: string
                        building:
                          type: string
                        step:
                          type: string
                        gate:
                          type: string
                        tier:
                          type:
                            - string
                            - "null"
                        status:
                          type: string
                          enum:
                            - pending
                            - approved
                            - rejected
                            - expired
                        payload_json:
                          type: string
                        execution_id:
                          type:
                            - string
                            - "null"
                          description: "For a `tool_permission` gate raised inside an office: the paused execution"
                        requested_at:
                          type: string
                        expires_at:
                          type: string
                        decided_at:
                          type:
                            - string
                            - "null"
                        decided_by:
                          type:
                            - string
                            - "null"
                          description: "`auto`, `timeout`, `user:<id>`, `team:<id>` or `node`"
                        note:
                          type:
                            - string
                            - "null"
                    description: Every approval, oldest first
                  history:
                    type: array
                    items:
                      type: object
                      properties:
                        seq:
                          type: integer
                          description: "Per company, dense, ascending: fold events in seq order"
                        campus:
                          type: string
                        building:
                          type:
                            - string
                            - "null"
                        item_id:
                          type:
                            - string
                            - "null"
                        office:
                          type:
                            - string
                            - "null"
                        type:
                          type: string
                          enum:
                            - item.created
                            - step.enter
                            - step.exit
                            - run.start
                            - run.end
                            - desk.progress
                            - handoff
                            - approval.requested
                            - approval.decided
                            - item.parked
                            - item.resumed
                            - item.done
                            - budget.warn
                            - budget.stop
                            - config.changed
                            - building.connected
                            - item.then
                            - error
                        data:
                          type: object
                          additionalProperties: true
                          description: References only, never bodies; its keys by `type` are in `x-data-by-type`. A reader ignores keys it does not know
                          x-data-by-type:
                            item.created:
                              type: object
                              properties:
                                source:
                                  type: string
                                kind:
                                  type: string
                                title:
                                  type: string
                                priority:
                                  type: integer
                                tier:
                                  type:
                                    - string
                                    - "null"
                                parent_item_id:
                                  type:
                                    - string
                                    - "null"
                                created_at:
                                  type: string
                              required:
                                - title
                            step.enter:
                              type: object
                              properties:
                                step:
                                  type: string
                                attempt:
                                  type: integer
                              required:
                                - step
                            step.exit:
                              type: object
                              properties:
                                step:
                                  type: string
                                outcome:
                                  type: string
                              required:
                                - step
                            run.start:
                              type: object
                              properties:
                                step:
                                  type: string
                                office:
                                  type: string
                                run_id:
                                  type: string
                                execution_id:
                                  type: string
                              required:
                                - office
                            run.end:
                              type: object
                              properties:
                                step:
                                  type: string
                                office:
                                  type: string
                                run_id:
                                  type: string
                                status:
                                  type: string
                                  enum:
                                    - ok
                                    - failed
                                    - cancelled
                                cost_usd:
                                  type: number
                                execution_id:
                                  type:
                                    - string
                                    - "null"
                                settled:
                                  type: boolean
                                  description: "A late cost for a run that had already ended: only the cost moves"
                                item_cost_usd:
                                  type: number
                              required:
                                - office
                                - status
                            approval.requested:
                              type: object
                              properties:
                                approval_id:
                                  type: string
                                step:
                                  type: string
                                gate:
                                  type: string
                                tier:
                                  type:
                                    - string
                                    - "null"
                                payload:
                                  type: object
                                  additionalProperties: true
                                requested_at:
                                  type: string
                                expires_at:
                                  type: string
                                execution_id:
                                  type: string
                              required:
                                - approval_id
                                - gate
                            approval.decided:
                              type: object
                              properties:
                                approval_id:
                                  type: string
                                gate:
                                  type: string
                                decision:
                                  type: string
                                  enum:
                                    - approve
                                    - reject
                                status:
                                  type: string
                                  enum:
                                    - approved
                                    - rejected
                                    - expired
                                by:
                                  type:
                                    - string
                                    - "null"
                                note:
                                  type: string
                                execution_id:
                                  type: string
                              required:
                                - approval_id
                                - status
                            item.parked:
                              type: object
                              properties:
                                reason:
                                  type: string
                                step:
                                  type: string
                                restart:
                                  type: boolean
                                  description: "The visit was abandoned: a resume starts the step afresh"
                                office:
                                  type: string
                                execution_id:
                                  type: string
                              required:
                                - reason
                            item.resumed:
                              type: object
                              properties:
                                action:
                                  type: string
                                  enum:
                                    - resume
                                    - retry
                                step:
                                  type: string
                                attempt:
                                  type: integer
                                from:
                                  type:
                                    - string
                                    - "null"
                              required:
                                - action
                            item.done:
                              type: object
                              properties:
                                cost_usd:
                                  type: number
                            item.then:
                              type: object
                              properties:
                                building:
                                  type: string
                                  description: The building the item hands on to
                                to:
                                  type: string
                                  description: The same as `building` (kept for older readers)
                                child:
                                  type:
                                    - string
                                    - "null"
                                  description: The child item; null when a local node takes it
                                child_id:
                                  type: string
                                  description: The same as `child` (kept for older readers)
                                local:
                                  type: boolean
                              required:
                                - building
                            handoff:
                              type: object
                              properties:
                                from:
                                  type: string
                                to:
                                  type: string
                                child_id:
                                  type: string
                            config.changed:
                              type: object
                              properties:
                                change:
                                  type: string
                                  enum:
                                    - apply
                                  description: "A new plan: re-read layout and snapshot"
                                version:
                                  type: integer
                                mode:
                                  type: string
                                  enum:
                                    - supervised
                                    - tiered
                                    - autonomous
                                previous:
                                  type: string
                                buildings:
                                  type: object
                                  additionalProperties:
                                    type: string
                                    enum:
                                      - supervised
                                      - tiered
                                      - autonomous
                                  description: Each building’s mode after a mode switch
                                status:
                                  type: string
                                  enum:
                                    - running
                                    - stopped
                                item_id:
                                  type: string
                                paused:
                                  type: boolean
                                steer:
                                  type: boolean
                            building.connected:
                              type: object
                              properties:
                                node:
                                  type: string
                                connected:
                                  type: boolean
                            budget.warn:
                              type: object
                              properties:
                                scope:
                                  type: string
                                cost_usd:
                                  type: number
                                limit_usd:
                                  type: number
                                pct:
                                  type: integer
                            budget.stop:
                              type: object
                              properties:
                                scope:
                                  type: string
                                cost_usd:
                                  type: number
                                limit_usd:
                                  type: number
                            desk.progress:
                              type: object
                              additionalProperties: true
                            error:
                              type: object
                              additionalProperties: true
                        at:
                          type: string
                      required:
                        - seq
                        - campus
                        - type
                        - data
                        - at
                    description: The item’s own events, oldest first (the newest 500)
            text/yaml:
              schema:
                type: string
            text/markdown:
              schema:
                type: string
            text/plain:
              schema:
                type: string
        "400":
          description: invalid_format — format must be one of json, yaml, markdown, text
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "401":
          description: unauthorized — missing, invalid or revoked ozk_ key
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "404":
          description: "company_not_found — no company with that slug for this account (a foreign slug answers the same); or no item with that id in this company; not_found — no route for this method on this path: every other method answers it"
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "502":
          description: upstream_error — the company service is unavailable; retry
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
        "503":
          description: not_enabled — the company service is not deployed on this tier
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
components:
  schemas:
    Error:
      type: object
      description: Standard error envelope. Every error response also carries an `X-Error-Code` response header equal to error.code, so a client branches on the header regardless of the negotiated body format (json | yaml | markdown | text). When the request created an execution, the `X-Execution-Id` response header is also set. Errors follow the negotiated format like success bodies.
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            connect:
              type: object
              description: "On a 424 connection_required / credential_required: where the missing connection is made."
              properties:
                provider:
                  type: string
                method:
                  type: string
                  enum:
                    - oauth
                    - api_key
                    - wallet
                link:
                  type: string
                  example: POST /v1/connections/stripe/link
          required:
            - code
            - message
          additionalProperties: true
      required:
        - error
  securitySchemes:
    ozkBearer:
      type: http
      scheme: bearer
      description: "ozk_ platform API key (Authorization: Bearer ozk_…)"
```
