developers.agent.prompt
curl --request POST \
--url https://platform.trylath.com/developers/agent/prompt \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://platform.trylath.com/developers/agent/prompt', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://platform.trylath.com/developers/agent/prompt"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://platform.trylath.com/developers/agent/prompt"
payload := strings.NewReader("{}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"activityId": "<string>",
"result": {
"markdown": "<string>",
"generatedAt": "2023-11-07T05:31:56Z",
"operationCount": 0
}
}developers.agent.prompt
Returns the paste-in instructions for any agent: how to connect it over MCP (written for one client when client names it), and for clients that cannot, every operation with its fields, how to authenticate, the error shape, worked examples, and this environment’s current state. Regenerated on every call.
POST
/
developers
/
agent
/
prompt
developers.agent.prompt
curl --request POST \
--url https://platform.trylath.com/developers/agent/prompt \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://platform.trylath.com/developers/agent/prompt', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://platform.trylath.com/developers/agent/prompt"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://platform.trylath.com/developers/agent/prompt"
payload := strings.NewReader("{}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"activityId": "<string>",
"result": {
"markdown": "<string>",
"generatedAt": "2023-11-07T05:31:56Z",
"operationCount": 0
}
}Authorizations
A Lath API key: lath_live_… or lath_test_… on a server, lath_live_pk… or lath_test_pk… in a browser.
Body
application/json
Which client is reading this, so the connect step is written for it. Omit if unsure and every path is shown.
Available options:
claude-code, cursor, vscode, windsurf, zed, cline, opencode, codex, gemini-cli, antigravity, grok, claude-desktop, chatgpt, lovable, replit, v0, bolt, deepseek, other Last modified on September 23, 2026
Was this page helpful?

