# Server time

`GET https://atlas-api.skylit.ai/v1/time`

API: Atlas. Credits: 0.

Current server time as a Unix-seconds integer (UDF `/time`). Free.

## Authentication

Send your Skylit API key as a bearer token: `Authorization: Bearer <key>`. No other header is accepted.

## Example request

```bash
curl "https://atlas-api.skylit.ai/v1/time" \
  -H "Authorization: Bearer $SKYLIT_API_KEY"
```

## Responses

### 200

Unix seconds, as a bare number in a `text/plain` body (UDF convention), not JSON.

`text/plain`

### 401

Missing or invalid API key.

### 403

Unknown, revoked or expired API key (the gateway's `forbidden`), or the account is not API-eligible (`account_suspended`). Not retryable.

suspended:

```json
{
  "error": {
    "code": "account_suspended",
    "message": "Account suspended."
  }
}
```
