Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Managed Service for YDB
  • Getting started
  • Access management
      • All methods
        • BatchGetItem
        • BatchWriteItem
        • CreateTable
        • DeleteItem
        • DeleteTable
        • DescribeTable
        • DescribeTimeToLive
        • GetItem
        • ListTables
        • PutItem
        • Query
        • Scan
        • TransactGetItems
        • TransactWriteItems
        • UpdateItem
        • UpdateTimeToLive
        • UpdateTable
    • Common errors when using the Document API
  • Monitoring metrics
  • Audit Trails events
  • FAQ
  • Public materials

In this article:

  • Request
  • Parameters
  • Response
  • Parameters
  • Errors
  1. Amazon DynamoDB-compatible Document API
  2. Document API reference
  3. Actions
  4. DescribeTimeToLive

DescribeTimeToLive method

Written by
Yandex Cloud
Updated at April 24, 2026
View in Markdown
  • Request
    • Parameters
  • Response
    • Parameters
  • Errors

Returns the time-to-live (TTL) status for the specified table.

RequestRequest

The request contains data in JSON format.

{
  "TableName": "string"
}

ParametersParameters

Parameter Description
TableName Name of the table whose TTL status is requested.
It may contain a path in the hierarchical directory structure in path/to/table format.

Type: String
Length: 3 to 255 characters.
Template: [a-zA-Z0-9_.-]+
Required: Yes

ResponseResponse

If successful, HTTP code 200 is returned.
You will get data in JSON format.

{
  "TimeToLiveDescription": {
    "AttributeName": "string",
    "TimeToLiveStatus": "string"
  }
}

ParametersParameters

Parameter Description
TimeToLiveSpecification TTL status.

Type: Object of the TimeToLiveSpecification type.

ErrorsErrors

Parameter Description
InternalServerError An internal error occurred on the server side.

HTTP status code: 500
ResourceNotFoundException The specified table does not exist or its status is different from ACTIVE.

HTTP status code: 400

There may be some common errors as well shared by all methods.

Was the article helpful?

Previous
DescribeTable
Next
GetItem
© 2026 Direct Cursus Technology L.L.C.