Skip to main content
GET
/
Agent
/
{agentId}
/
prompt
Get the prompt of an agent
curl --request GET \
  --url https://api.starleads.co/Agent/{agentId}/prompt \
  --header 'X-Api-Key: <api-key>'
{
  "agentId": "64a1b2c3d4e5f6a7b8c9d0e1",
  "agentName": "My Sales Agent",
  "prompt": "You are a friendly sales assistant..."
}

Documentation Index

Fetch the complete documentation index at: https://docs.starleads.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Api-Key
string
header
required

Headers

X-Api-Key
string
required

Api key to pass as a X-Api-Key request header.

Path Parameters

agentId
string
required

ID of the agent.

Response

Success

agentId
string

ID of the agent

agentName
string

Name of the agent

prompt
string

The current prompt text of the agent