Example Python

import base64
import requests

diffgram_client = {
    "host": "http://yourhost.com:8085/",
    "project_string_id": "your_project_id",
    "client_id": "your_client_id",
    "client_secret": "your_secret",
}
auth = base64.b64encode((diffgram_client['client_id'] + ":" + diffgram_client['client_secret']).encode())
body = {
    'metadata': {
        'project_string_id': 'diffgram-testing-e2e',
        'limit': 50,
        'page_number': 1,
        
    }
}
headers = {
    "accept": "application/json",
    "content-type": "application/json",
    "authorization": f"Basic {auth.decode()}"
}
url = f"{diffgram_client['host']}/api/v1/job/list"
response = requests.post(url, json = body, headers = headers)

response.json()

Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!