---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://segmentstream.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Inspect a development session

GET /api/workspaces/{workspaceId}/dev-sessions/{sessionName}

## Endpoint

**GET**`/api/workspaces/{workspaceId}/dev-sessions/{sessionName}`

Read the current state of a session selected from the workspace list. This is a repeatable read. See applications_listDevSessions. Required personal key scopes: workspace:view, deployments:read.

## Authorization

Bearer token · workspace:view · deployments:read

## Parameters

- `workspaceId` *path · uuid · required*

  Workspace UUID returned by list workspaces.

- `sessionName` *path · string · required*

  Name of the development session.

- `API-Version` *header · string · optional*

  Optional platform API major version. Omit to use the current default.

  Allowed values: 1

## Responses

### `200` Success

### application/json schema

```
{
  "type": "object",
  "properties": {
    "devSession": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid",
          "description": "Identifier of this resource."
        },
        "name": {
          "type": "string",
          "pattern": "^[a-z0-9][a-z0-9-]{0,62}$",
          "allOf": [
            {
              "description": "Name identifying this item within its parent resource."
            }
          ]
        },
        "status": {
          "type": "string",
          "enum": [
            "provisioning",
            "ready",
            "failed",
            "deleting",
            "deleted",
            "expired"
          ],
          "description": "Current lifecycle or execution status."
        },
        "expiresAt": {
          "type": "string",
          "description": "Time at which this entry expires."
        },
        "createdAt": {
          "type": "string",
          "description": "Time when the item was created."
        },
        "updatedAt": {
          "type": "string",
          "description": "Time when the item was updated."
        },
        "appliedHash": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "Hash of the configuration already applied."
        },
        "failure": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Machine-readable identifier for the reported condition."
                },
                "detail": {
                  "type": "string",
                  "description": "Human-readable explanation of the failure."
                },
                "reference": {
                  "type": "string",
                  "description": "Identifier used to correlate this item with its source."
                }
              },
              "required": [
                "code",
                "detail",
                "reference"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ],
          "description": "Failure details returned for this execution."
        }
      },
      "required": [
        "id",
        "name",
        "status",
        "expiresAt",
        "createdAt",
        "updatedAt"
      ],
      "additionalProperties": false,
      "description": "Details of the selected development session."
    }
  },
  "required": [
    "devSession"
  ],
  "additionalProperties": false
}
```

[Full schema and referenced types ↗](https://segmentstream.com/openapi.json)

### Example

```
{
  "devSession": {
    "id": "00000000-0000-4000-8000-000000000001",
    "name": "analytics",
    "status": "provisioning",
    "expiresAt": "2026-01-22T12:00:00Z",
    "createdAt": "2026-01-15T12:00:00Z",
    "updatedAt": "2026-01-15T12:00:00Z"
  }
}
```

### Response headers

- API-Version

  Supported platform API major version.

- RateLimit

  Remaining quota (r) and seconds until reset (t), when admission is available.

- RateLimit-Policy

  Request quota (q) and window in seconds (w).

- Deprecation

  Present when the operation is deprecated. RFC 9745 date in seconds since the Unix epoch.

- Sunset

  Present when retirement is scheduled. HTTP date of planned removal, per RFC 8594.

### `400` Error

### application/json schema

```
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Machine-readable error code or diagnostic reported by the operation."
    },
    "detail": {
      "type": "string",
      "description": "Human-readable explanation of the failure."
    },
    "requestId": {
      "type": "string",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
      "format": "uuid",
      "description": "Correlation ID for tracing the request with support."
    },
    "retryable": {
      "type": "boolean",
      "description": "Whether retrying the same failed request may succeed."
    }
  },
  "required": [
    "error",
    "detail",
    "requestId",
    "retryable"
  ],
  "additionalProperties": true
}
```

[Full schema and referenced types ↗](https://segmentstream.com/openapi.json)

### Response headers

- API-Version

  Supported platform API major version.

- RateLimit

  Remaining quota (r) and seconds until reset (t), when admission is available.

- RateLimit-Policy

  Request quota (q) and window in seconds (w).

### `401` Error

### application/json schema

```
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Machine-readable error code or diagnostic reported by the operation."
    },
    "detail": {
      "type": "string",
      "description": "Human-readable explanation of the failure."
    },
    "requestId": {
      "type": "string",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
      "format": "uuid",
      "description": "Correlation ID for tracing the request with support."
    },
    "retryable": {
      "type": "boolean",
      "description": "Whether retrying the same failed request may succeed."
    }
  },
  "required": [
    "error",
    "detail",
    "requestId",
    "retryable"
  ],
  "additionalProperties": true
}
```

[Full schema and referenced types ↗](https://segmentstream.com/openapi.json)

### Response headers

- API-Version

  Supported platform API major version.

- RateLimit

  Remaining quota (r) and seconds until reset (t), when admission is available.

- RateLimit-Policy

  Request quota (q) and window in seconds (w).

### `403` Error

### application/json schema

```
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Machine-readable error code or diagnostic reported by the operation."
    },
    "detail": {
      "type": "string",
      "description": "Human-readable explanation of the failure."
    },
    "requestId": {
      "type": "string",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
      "format": "uuid",
      "description": "Correlation ID for tracing the request with support."
    },
    "retryable": {
      "type": "boolean",
      "description": "Whether retrying the same failed request may succeed."
    }
  },
  "required": [
    "error",
    "detail",
    "requestId",
    "retryable"
  ],
  "additionalProperties": true
}
```

[Full schema and referenced types ↗](https://segmentstream.com/openapi.json)

### Response headers

- API-Version

  Supported platform API major version.

- RateLimit

  Remaining quota (r) and seconds until reset (t), when admission is available.

- RateLimit-Policy

  Request quota (q) and window in seconds (w).

### `404` Error

### application/json schema

```
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Machine-readable error code or diagnostic reported by the operation."
    },
    "detail": {
      "type": "string",
      "description": "Human-readable explanation of the failure."
    },
    "requestId": {
      "type": "string",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
      "format": "uuid",
      "description": "Correlation ID for tracing the request with support."
    },
    "retryable": {
      "type": "boolean",
      "description": "Whether retrying the same failed request may succeed."
    }
  },
  "required": [
    "error",
    "detail",
    "requestId",
    "retryable"
  ],
  "additionalProperties": true
}
```

[Full schema and referenced types ↗](https://segmentstream.com/openapi.json)

### Response headers

- API-Version

  Supported platform API major version.

- RateLimit

  Remaining quota (r) and seconds until reset (t), when admission is available.

- RateLimit-Policy

  Request quota (q) and window in seconds (w).

### `406` Unsupported platform API version

### application/json schema

```
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Machine-readable error code or diagnostic reported by the operation."
    },
    "detail": {
      "type": "string",
      "description": "Human-readable explanation of the failure."
    },
    "requestId": {
      "type": "string",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
      "format": "uuid",
      "description": "Correlation ID for tracing the request with support."
    },
    "retryable": {
      "type": "boolean",
      "description": "Whether retrying the same failed request may succeed."
    }
  },
  "required": [
    "error",
    "detail",
    "requestId",
    "retryable"
  ],
  "additionalProperties": true
}
```

[Full schema and referenced types ↗](https://segmentstream.com/openapi.json)

### Response headers

- API-Version

  Supported platform API major version.

- RateLimit

  Remaining quota (r) and seconds until reset (t), when admission is available.

- RateLimit-Policy

  Request quota (q) and window in seconds (w).

### `409` Error

### application/json schema

```
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Machine-readable error code or diagnostic reported by the operation."
    },
    "detail": {
      "type": "string",
      "description": "Human-readable explanation of the failure."
    },
    "requestId": {
      "type": "string",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
      "format": "uuid",
      "description": "Correlation ID for tracing the request with support."
    },
    "retryable": {
      "type": "boolean",
      "description": "Whether retrying the same failed request may succeed."
    }
  },
  "required": [
    "error",
    "detail",
    "requestId",
    "retryable"
  ],
  "additionalProperties": true
}
```

[Full schema and referenced types ↗](https://segmentstream.com/openapi.json)

### Response headers

- API-Version

  Supported platform API major version.

- RateLimit

  Remaining quota (r) and seconds until reset (t), when admission is available.

- RateLimit-Policy

  Request quota (q) and window in seconds (w).

### `413` Error

### application/json schema

```
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Machine-readable error code or diagnostic reported by the operation."
    },
    "detail": {
      "type": "string",
      "description": "Human-readable explanation of the failure."
    },
    "requestId": {
      "type": "string",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
      "format": "uuid",
      "description": "Correlation ID for tracing the request with support."
    },
    "retryable": {
      "type": "boolean",
      "description": "Whether retrying the same failed request may succeed."
    }
  },
  "required": [
    "error",
    "detail",
    "requestId",
    "retryable"
  ],
  "additionalProperties": true
}
```

[Full schema and referenced types ↗](https://segmentstream.com/openapi.json)

### Response headers

- API-Version

  Supported platform API major version.

- RateLimit

  Remaining quota (r) and seconds until reset (t), when admission is available.

- RateLimit-Policy

  Request quota (q) and window in seconds (w).

### `422` Error

### application/json schema

```
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Machine-readable error code or diagnostic reported by the operation."
    },
    "detail": {
      "type": "string",
      "description": "Human-readable explanation of the failure."
    },
    "requestId": {
      "type": "string",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
      "format": "uuid",
      "description": "Correlation ID for tracing the request with support."
    },
    "retryable": {
      "type": "boolean",
      "description": "Whether retrying the same failed request may succeed."
    }
  },
  "required": [
    "error",
    "detail",
    "requestId",
    "retryable"
  ],
  "additionalProperties": true
}
```

[Full schema and referenced types ↗](https://segmentstream.com/openapi.json)

### Response headers

- API-Version

  Supported platform API major version.

- RateLimit

  Remaining quota (r) and seconds until reset (t), when admission is available.

- RateLimit-Policy

  Request quota (q) and window in seconds (w).

### `429` Request limit reached

### application/json schema

```
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Machine-readable error code or diagnostic reported by the operation."
    },
    "detail": {
      "type": "string",
      "description": "Human-readable explanation of the failure."
    },
    "requestId": {
      "type": "string",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
      "format": "uuid",
      "description": "Correlation ID for tracing the request with support."
    },
    "retryable": {
      "type": "boolean",
      "description": "Whether retrying the same failed request may succeed."
    }
  },
  "required": [
    "error",
    "detail",
    "requestId",
    "retryable"
  ],
  "additionalProperties": true
}
```

[Full schema and referenced types ↗](https://segmentstream.com/openapi.json)

### Response headers

- Retry-After

  Seconds to wait before retrying the request.

- API-Version

  Supported platform API major version.

- RateLimit

  Remaining quota (r) and seconds until reset (t), when admission is available.

- RateLimit-Policy

  Request quota (q) and window in seconds (w).

### `503` Error

### application/json schema

```
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Machine-readable error code or diagnostic reported by the operation."
    },
    "detail": {
      "type": "string",
      "description": "Human-readable explanation of the failure."
    },
    "requestId": {
      "type": "string",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
      "format": "uuid",
      "description": "Correlation ID for tracing the request with support."
    },
    "retryable": {
      "type": "boolean",
      "description": "Whether retrying the same failed request may succeed."
    }
  },
  "required": [
    "error",
    "detail",
    "requestId",
    "retryable"
  ],
  "additionalProperties": true
}
```

[Full schema and referenced types ↗](https://segmentstream.com/openapi.json)

### Response headers

- API-Version

  Supported platform API major version.

- RateLimit

  Remaining quota (r) and seconds until reset (t), when admission is available.

- RateLimit-Policy

  Request quota (q) and window in seconds (w).

[Read as Markdown ↗](https://segmentstream.com/docs/api/applications/applications_getDevSession.md)
