get_target

Remaining read arguments go in query parameters.

get/v1/targets/{targetId}

Request

  • Base URL: https://app.agentlinkops.com
  • URL: https://app.agentlinkops.com/v1/targets/{targetId}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

targetIdstring required

target ID from create/list.

Headers

X-Workspace-IDstring

Required when using a Clerk human session. With an API key, omit this header or supply its bound workspace.

Response

Remaining read arguments go in query parameters.

idstring required

Resource identifier returned by the operation.

workspace_idstring required

Workspace that owns this record.

project_idstring required

Project that owns this record.

status'active' | 'paused' required

Resource lifecycle status.

cadence_secondsnumber required
statestring required

Saved lifecycle or evidence state, as enumerated for this record.

created_atstring required

UTC timestamp when the record was created.

updated_atstring required

UTC timestamp of the last record update.

last_attempt_atstring nullable required
last_success_atstring nullable required
last_observation_idstring nullable required
next_check_atstring nullable required
overdue_reasonstring nullable required
urlstring required
createdboolean

True when this request created the record; false when an existing record was reused.

last_successful_observation_idstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.