cURL
curl --request GET \ --url https://api.keywordsai.co/api/experiments/{experiment_id} \ --header 'Authorization: Bearer <token>'
{ "id": "experiment_id_123", "name": "My Experiment", "columns": [], "rows": [] }
Authorization: Bearer <API key>
import requests experiment_id = "experiment_id_123" url = f"https://api.keywordsai.co/api/experiments/{experiment_id}" headers = { "Authorization": "Bearer YOUR_API_KEY" } response = requests.get(url, headers=headers) print(response.json())
Was this page helpful?