Cursor icon

Cursor

Interact with the Cursor REST API to spawn and manage AI coding agents

Actions13

Agent → Get

AI-generated

Summary

Retrieve detailed metadata for a specific Cursor AI coding agent by its unique Agent ID.

Inputs

  • Agent ID (required) — The unique identifier of the agent whose metadata you want to fetch.

Output shape

a single record containing the agent's metadata as JSON

The returned JSON includes all available details about the agent as provided by the Cursor API's /v1/agents/{agentId} endpoint.

Examples

Example 1: Fetch metadata for a known agent

Set resource to 'Agent', operation to 'Get', and provide the Agent ID parameter.

Links

Discussion