# API Types documentation

**URL:** <https://community.graylog.org/t/api-types-documentation/17069>\
**Category:** Development\
**Created:** [September 7, 2020, 10:28am UTC](https://community.graylog.org/t/api-types-documentation/17069 "2020-09-07T10:28:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bsandwick](https://avatars.discourse-cdn.com/v4/letter/b/977dab/32.png) [@bsandwick](https://community.graylog.org/u/bsandwick)\
**Post date:** [September 7, 2020, 10:28am UTC](https://community.graylog.org/t/api-types-documentation/17069/1 "2020-09-07T10:28:11Z")

</div>

I’m working on using the REST API to integrate with our own internal dashboard and need to use the search API to return some logs. I’m not sure if i’m just missing something, but the API docs don’t seem to have any information on object structure below the root level.

For example in a POST /search, I know it needs an array of queries, but what should a query look like? Then in there, what should a timerange object look like? It seems there should be some documentation on extra types to make the API easily usable.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [September 21, 2020, 10:28am UTC](https://community.graylog.org/t/api-types-documentation/17069/2 "2020-09-21T10:28:15Z")

</div>

Closed on September 21, 2020, 10:28am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
