# \CategoriesApi All URIs are relative to *https://www.metaculus.com* Method | HTTP request | Description ------------- | ------------- | ------------- [**categories_list**](CategoriesApi.md#categories_list) | **GET** /api2/categories/ | [**categories_retrieve**](CategoriesApi.md#categories_retrieve) | **GET** /api2/categories/{bare_id}/ | ## categories_list > crate::models::PaginatedCategoryList categories_list(limit, offset) ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **limit** | Option<**i32**> | Number of results to return per page. | | **offset** | Option<**i32**> | The initial index from which to return the results. | | ### Return type [**crate::models::PaginatedCategoryList**](PaginatedCategoryList.md) ### Authorization [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## categories_retrieve > crate::models::Category categories_retrieve(bare_id) ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **bare_id** | **i32** | | [required] | ### Return type [**crate::models::Category**](Category.md) ### Authorization [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth), [tokenAuth](../README.md#tokenAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)