Skip to content

Status

Check the Descript API status and validate authentication.

This example assumes using Descript; is in scope and apiKey contains your Descript API key.

1
2
3
4
5
6
7
using var client = new DescriptClient(apiKey);

// Check the Descript API availability and validate your authentication token.
// This is a lightweight call useful for verifying connectivity and credentials.
var status = await client.ApiEndpoints.GetStatusAsync();

Console.WriteLine($"API status: {status.Status}");