---
title: "Read the decision on a tool access request"
method: GET
path: "/credits/tools/access-requests/{requestId}"
tags: ["Catalog"]
---

# Read the decision on a tool access request

`GET /credits/tools/access-requests/{requestId}`

## Request

- Base URL: `https://api.paywithlocus.com/api`
- URL: `https://api.paywithlocus.com/api/credits/tools/access-requests/{requestId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Returns the current state of an access request issued in the caller's workspace. A pending request past expires_at reads as expired. enabled reports whether the tool is on in the requester's tool set right now.

## Path parameters

- `requestId` string, uuid, required

## Response `200`

Current request state

- object
  - `success` unknown, required
  - `status` 'pending' | 'approved' | 'denied' | 'expired', required
  - `enabled` boolean, required
  - `slug` string, required
  - `expires_at` string, date-time, required

## Other responses

- `400`: Invalid request id
- `401`: Missing or invalid execution credential
- `404`: No such request in this workspace

---

[API](https://skmtc.dev/paywithlocus/apis/locus-pro-api.md) - [All operations](https://skmtc.dev/paywithlocus/apis/locus-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paywithlocus/apis/locus-pro-api/revisions/aab8fa5d6cef?raw)
