Postman Collection¶
Use our Postman collection to explore and test the APIs quickly.
Download¶
- Collection JSON:
docs/api/hgcontent.postman_collection.json
Setup¶
- Import the JSON into Postman.
- Create an Environment with variables:
baseUrl
(e.g.,http://localhost:8002/api/v1
for External API)externalApiKey
(your dev key orEXTERNAL_TEST_API_KEY
)cpmUrl
(e.g.,http://localhost:8000
)cpmApiKey
(valid CPM API key)
Requests Included¶
- External API
POST {{baseUrl}}/content/generate
(SEO Article)GET {{baseUrl}}/jobs/:jobId/status
GET {{baseUrl}}/jobs/:jobId/content
- CPM
POST {{cpmUrl}}/generate
GET {{cpmUrl}}/jobs/:job_id
GET {{cpmUrl}}/providers/ollama/status
For more examples, see the Quick Start Guide and REST API Overview.