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 an agent without MCP: 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_sk… or lath_test_sk… 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, claude-desktop, cursor, windsurf, zed, cline, opencode, codex, grok, deepseek, replit, lovable, bolt, v0, other Last modified on September 13, 2026
Was this page helpful?

