# SDK

Tests can be [programmatically created](https://docs.dbnl.com/v0.20.x/using-distributional/python-sdk/sdk-experimental-functions/create_test) using the python SDK. Users must provide a JSON dictionary that adheres to the dbnl [Test Spec](https://docs.dbnl.com/v0.20.x/python-sdk/sdk-experimental-functions/create_test#test-spec-json-schema) and instantiates the key elements of a Test.  The [Testing Strategies](https://docs.dbnl.com/v0.20.x/using-distributional/testing/testing-strategies) section has sample content around creating tests using JSON.  Additionally, the test creation page will soon also have the ability to convert a test from dropdowns to JSON, so that many tests of similar structure can be created in JSON after the first one is designed in the web UI.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dbnl.com/v0.20.x/using-distributional/testing/creating-tests/sdk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
