Skip to main content
GET
/
agent_nodes
/
{id}
Get Agent Node
curl --request GET \
  --url https://api.example.com/agent_nodes/{id}
Returns a single node type and its documentation link. You can pass either kind of ID:
  1. Node type ID — the ID from GET /agent_nodes or nodes[].node_type_id in Get Agent. Looked up directly.
  2. Agent node instance ID — the ID from nodes[].id in Get Agent. The API resolves this to its underlying node type automatically.
The API tries the node type ID first. If no match is found, it checks agent node instances and resolves to the underlying node type.

Request

curl -X GET "https://api.mosaic.so/agent_nodes/[id]" \
  -H "Authorization: Bearer mk_your_api_key"

Response

{
  "agent_node": {
    "id": "3b281fb9-9eb2-40f6-b05b-4b6f909a3da9",
    "name": "AI Music",
    "docs": {
      "path": "tiles/ai-music",
      "anchor": "api-info",
      "url": "https://docs.mosaic.so/tiles/ai-music#api-info"
    }
  }
}
The response always returns the node type, regardless of which kind of ID you passed in.