cURL
curl -X POST "https://api.joinformal.com/core.v1.LogsService/GetLogsFromNaturalLanguage" \ -H "X-API-KEY: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "example": "value" }'
{ "logs": [ {} ], "numHits": 123, "query": "<string>", "startTimestamp": "<string>", "endTimestamp": "<string>", "nextCursor": "<string>", "relativeTime": "<string>" }
API key authentication. Get your API key from the Formal console.
1 - 5000
100
When 0, only the NL→query translation is returned (no logs are fetched).
0 <= x <= 100
Success
Show child attributes
Original relative time window from the LLM translation (e.g. "7d", "1h"). Empty when the LLM used absolute timestamps or no time constraint was specified.
Was this page helpful?
Suggestions