---
title: "Get a workspace policy rule [read]"
method: GET
path: "/universes/{slug}/policies/{ruleId}"
---

# Get a workspace policy rule \[read\]

`GET /universes/{slug}/policies/{ruleId}`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/universes/{slug}/policies/{ruleId}`
- Auth: HTTP bearer

## Path parameters

- `slug` string, required
- `ruleId` string, required

## Response `200`

OK

- object
  - `rule` PolicyRule
    - `id` string, required
    - `name` string, required
    - `kind` 'TOOL_CALL' | 'SPEND_CAP' | 'CALL_COUNT' | 'CAPABILITY', required
    - `enabled` boolean, required
    - `config` object, required
    - `layer` 'workspace' | 'agent' | 'session', required
    - `position` integer, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required

## Other responses

- `default`: Error — { error: { code, message, request_id } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 13 info
  - added the optional property `error/request_id` to the response with the `default` status
  - the response property `error` became required for the status `default`
  - the response property `error/code` became required for the status `default`
  - the response property `error/message` became required for the status `default`
  - …9 more

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/universes/:slug/policies/:ruleId/get.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/8280a065ef6a?raw)
