# us.off-the-clock.getPolicy

> A content space's current policy, for its members whether or not they have accepted it, with a signed URL of its body and the viewer's acceptance.

- Kind: query
- Authority: off-the-clock.us
- Lexicon: 1
- Published by [off-the-clock.us](https://lexicon.garden/identity/did:plc:tevv7zpavtjtsvqrrwwipobt), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.getPolicy)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.getPolicy/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.getPolicy/analytics)

## Query (`us.off-the-clock.getPolicy`)

Type: query · GET

### Parameters (query string)

- `space` (string): A pair's TID; the default pair by default.
  - Constraints: maxLength: 512

### Output (application/json)

- `schema` (ref)
  - Reference: `us.off-the-clock.defs#policyView`

### Errors

- `InvalidRequest`: No description in schema.
- `NotSpaceMember`: No description in schema.
- `PolicyNotFound`: The space has no current policy.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A content space's current policy, for its members whether or not they have accepted it, with a signed URL of its body and the viewer's acceptance.",
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "NotSpaceMember"
        },
        {
          "description": "The space has no current policy.",
          "name": "PolicyNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "us.off-the-clock.defs#policyView",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "space": {
            "description": "A pair's TID; the default pair by default.",
            "maxLength": 512,
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "us.off-the-clock.getPolicy",
  "lexicon": 1
}
```
