> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# GetPackageStatus

Ledger API

›

[gRPC API](https://docs.canton.network/reference/grpc-ledger-api-reference/overview.md)

›

[v2](https://docs.canton.network/reference/grpc-ledger-api-reference/com-daml-ledger-api-v2.md)

›

GetPackageStatus

com.daml.ledger.api.v2

# GetPackageStatus

gRPC

RPC

`/com.daml.ledger.api.v2.PackageService/GetPackageStatus`

## Protocol Details

Protocol
gRPC

Service
PackageService

RPC
GetPackageStatus

Client stream
No

Server stream
No

## Inputs

### GetPackageStatusRequest

Message
com.daml.ledger.api.v2.GetPackageStatusRequest

Client stream
No

`package_id`
string

## Outputs

### GetPackageStatusResponse

Message
com.daml.ledger.api.v2.GetPackageStatusResponse

Server stream
No

`package_status`
PackageStatus

## Related Schemas

> [accordion] com.daml.ledger.api.v2.GetPackageStatusRequest
>
> `package_id`
> string

> [accordion] com.daml.ledger.api.v2.GetPackageStatusResponse
>
> `package_status`
> PackageStatus

> [accordion] com.daml.ledger.api.v2.PackageStatus
>
> <ul>
>   <li>`PACKAGE_STATUS_UNSPECIFIED`</li>
>
>   <li>`PACKAGE_STATUS_REGISTERED`</li>
> </ul>

grpcurl

```bash grpcurl theme={"theme":{"light":"github-light","dark":"github-dark"}}
# Add -plaintext if the server is not using TLS.
grpcurl \
  -d @ \
  <HOST:PORT> \
  com.daml.ledger.api.v2.PackageService/GetPackageStatus <<'EOF'
{
  "packageId": "string"
}
EOF
```

OK

application/json

```json OK theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "packageStatus": "PACKAGE_STATUS_UNSPECIFIED"
}
```
