cURL
curl --request POST \ --url https://api.gately.ai/v1/web \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "model": "scrape", "params": {} } '
{ "id": "<string>", "object": "<string>", "created": 123, "model": "<string>", "data": {}, "usage": { "prompt_tokens": 123, "completion_tokens": 123, "total_tokens": 123 }, "system_fingerprint": "<string>" }
Check the status and retrieve results of a crawl job
scraping
completed
failed
Show Show object structure
curl --request POST \ --url https://crawl.taam.cloud/v1/web \ --header 'Authorization: Bearer YOUR_API_KEY'
{ "status": "completed", "total": 50, "completed": 48, "creditsUsed": 96, "expiresAt": "2024-03-20T10:00:00Z", "next": null, "data": [ { "markdown": "# Page Title\nContent...", "html": "<h1>Page Title</h1><p>Content...</p>", "links": [ "https://example.com/page1", "https://example.com/page2" ], "metadata": { "title": "Example Page", "description": "Page description", "language": "en", "sourceURL": "https://example.com/page", "statusCode": 200 } } ] }
200 - Success
402 - Payment Required
429 - Too Many Requests
500 - Server Error
Enter your API key prefixed with 'Bearer '
Type of web service to use
scrape
crawl
map
taam-ai-search
crawl-status
Parameters specific to the selected model
Successful response
Unique identifier for the request
Type of completion (e.g., scrape.completion)
Unix timestamp of when the request was created
Model used for the request
Model-specific response data
Show child attributes
Was this page helpful?