# Get CSR status (https://developer.godaddy.com/en/docs/references/rest/ans/get-agent-csr-status-by-agent-id)

---
title: Get CSR status
description: Retrieves the current status of a Certificate Signing Request (CSR).
full: true
---

Full description

> Retrieves the current status of a Certificate Signing Request (CSR).  This endpoint allows clients to check if a CSR has been signed, is still pending,  or has been rejected. The failureReason field provides additional context when  a CSR is rejected.

## GET /v1/agents/{agentId}/csrs/{csrId}/status

Get CSR status

Retrieves the current status of a Certificate Signing Request (CSR).
This endpoint allows clients to check if a CSR has been signed, is still pending,
or has been rejected. The failureReason field provides additional context when
a CSR is rejected.


### Path parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `agentId` | string | yes | Unique identifier of the agent (UUID format) |
| `csrId` | string <uuid> | yes | Unique identifier of the CSR |

### Responses

**200** — CSR status retrieved successfully

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/CsrStatusResponse`

**401** — Authentication failed

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/ErrorResponse`

**403** — Authorization failed

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/ErrorResponse`

**404** — CSR not found or does not belong to this agent

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/ErrorResponse`

**422** — Invalid request parameters (semantic validation failure)

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/ErrorResponse`

**500** — Internal server error

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/ErrorResponse`
