Server SDKs
Build AI agents, control calls, send messages, and more
Retrieve a specific recording.
format: "uuid"
1{2 "id": "d369a402-7b43-4512-8735-9d5e1f387814",3 "project_id": "d369a402-7b43-4512-8735-9d5e1f387814",4 "created_at": "2024-01-15T09:30:00Z",5 "updated_at": "2024-01-15T09:30:00Z",6 "duration_in_seconds": 2,7 "error_code": "string",8 "price": 0.05,9 "price_unit": "USD",10 "status": "completed",11 "url": "https://example.com/recording.mp3",12 "stereo": false,13 "byte_size": 10,14 "track": "inbound",15 "relay_pstn_leg_id": "string"16}
1from signalwire.rest import RestClient23client = RestClient(4 project="your-project-id",5 token="your-api-token",6 host="your-space.signalwire.com",7)89rec = client.recordings.get("recording-id")10print(rec.get("duration"), rec.get("url"))