# sdk.doc
## Module Functions
### Get SDK Documentation <a name="create"></a>
Gets documentation for a specific SDK including usage examples
**API Endpoint**: `POST /sdk/{sdk_id}/doc`
#### Parameters
| `sdk_id` | ✓ | The SDK ID to get documentation for | `"h1jasdf123".to_string()` |
| `modules_filter` | ✗ | Optional array of module names to filter the response | `vec!["user.admin".to_string()]` |
#### Example Snippet
```rust
let client = sideko_rest_api::SidekoClient::default()
.with_api_key_auth(&std::env::var("API_KEY").unwrap())
.with_cookie_auth(&std::env::var("API_KEY").unwrap());
let res = client
.sdk()
.doc()
.create(sideko_rest_api::resources::sdk::doc::CreateRequest {
modules_filter: Some(vec!["user.admin".to_string()]),
sdk_id: "h1jasdf123".to_string(),
})
.await;
```
#### Response
##### Type
[SdkDocResponse](/src/models/sdk_doc_response.rs)
##### Example
```rust
SdkDocResponse {client_init: "def x".to_string(), modules: vec![ModuleDoc {content: "## Markdown SDK Docs".to_string(), module: "user.admin".to_string()}]}
```