Get composition forms
Page actions
- Open OpenAPI JSON (opens in a new tab)
- Ask ChatGPT (opens in a new tab)
- Ask Claude (opens in a new tab)
ChatGPT and Claude are third-party services. The link gives them this page's public address and a short instruction. This site records nothing.
Preview: the published page may be older or missing.
https://docs.gurbanisoul.com/api/reference/operations/forms/
GET
/api/forms
const url = 'https://example.com/api/forms?comp_id=1';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/forms?comp_id=1'Structural, poetic and musical form metadata for one composition.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”comp_id
required
integer
Composition id.
Responses
Section titled “ Responses ”OK
Media typeapplication/json
object
available
required
boolean
comp_id
required
integer
forms
required
object
comp_id
required
integer
raag_name
required
null
first_ang
required
integer
ghar
required
null
partaal
required
integer
has_rahao
required
integer
has_rahao_dooja
required
integer
dhunni
required
null
jati
required
null
form
required
null
pada_count
required
null
genre
required
null
source_label
required
string
note
required
string
Examplegenerated
{ "available": true, "comp_id": 1, "forms": { "comp_id": 1, "raag_name": "example", "first_ang": 1, "ghar": "example", "partaal": 1, "has_rahao": 1, "has_rahao_dooja": 1, "dhunni": "example", "jati": "example", "form": "example", "pada_count": "example", "genre": "example", "source_label": "example" }, "note": "example"}Invalid request (bad or out-of-range parameter).
Media typeapplication/json
object
error
required
string
Examplegenerated
{ "error": "example"}Internal error (generic body; details are logged, never returned).
Media typeapplication/json
object
error
required
string
Examplegenerated
{ "error": "example"}Sri Guru Granth Sahib Ji — Knowledge Base wiki. Generated from commit c3d9360. Updated 24 October 2026. This copy may be out of date; the page is at https://docs.gurbanisoul.com/api/reference/operations/forms/