Skip to main content
GET
/
resources
/
{id}
Get resource
curl --request GET \
  --url https://api.ledgerbeam.com/v1/resources/{id} \
  --header 'API-KEY: <api-key>'
{
  "id": "res_123456789",
  "name": "My Database",
  "description": "Production database connection",
  "type": "postgresql",
  "status": "active",
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-01-15T10:35:00Z"
}

Overview

Retrieve a specific resource by its ID. This endpoint allows you to get detailed information about a resource including its configuration and status.

Authorizations

API-KEY
string
header
required

API key for authentication

Path Parameters

id
string
required

Resource ID

Response

Resource retrieved successfully

id
string

Resource ID

Example:

"res_123456789"

name
string

Resource name

Example:

"My Database"

description
string

Resource description

Example:

"Production database connection"

type
string

Resource type

Example:

"postgresql"

status
enum<string>

Resource status

Available options:
active,
inactive,
error
Example:

"active"

created_at
string<date-time>

Creation timestamp

Example:

"2024-01-15T10:30:00Z"

updated_at
string<date-time>

Last update timestamp

Example:

"2024-01-15T10:35:00Z"