Add requests to dataset
Datasets
Add requests to dataset
Add request/response pairs to a dataset.
Accepts either body shape: - {"requests": [{"request_id": "..."}]} (canonical) - {"request_ids": ["...", "..."]} (convenience — flat string array)
POST
Add requests to dataset
Authorizations
Your Maitai API key from the Portal.
Path Parameters
Body
application/json
Flat array of request IDs to add. Convenience shape; the server also accepts {'requests': [{'request_id': '...'}]}.
Response
200 - application/json
Add requests to dataset.