# callRepository method

Information note**STABLE.**   
  
This API is reliable and breaking changes are unlikely.

Warning note**DEPRECATED.**   
  
This API is deprecated and may be removed in a future version.

qlik.callRepository(path, method, body)

Calls the Qlik Sense repository.

## Version history

Version history

| Version state | Details |
| --- | --- |
| Introduced | 1.1 |
| Updated | 1.0, 1.2, 2.0 |
| Deprecated | June 2019<br><br>Use instead: [Qlik Sense Repository Service API](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Introduction.htm)<br><br>Information noteThe Qlik Sense Repository Service API is only applicable to Qlik Sense Enterprise on Windows. It does not exist in Qlik Sense Enterprise SaaS. |

## Parameters

### path

Type: String

Path to the Qlik Sense repository.

Refer to Qlik Sense repository documentation for the available paths.

### method

Type: String

Optional.

HTTP method.

Default is GET.

### body

Type: String

Optional.

Body of the post.

## Returns

A promise of a Qlik associative engine reply.

Tip noteFor more information regarding a promise, see [The Promise API](https://code.angularjs.org/1.5.8/docs/api/ng/service/$q#the-promise-api).

## Example

```
qlik.callRepository('/qrs/extension/schema').success(function(reply) {
	alert(JSON.stringify(reply));
});
```

## Learn more

* [Qlik Sense Repository Service API](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Introduction.htm)