Skip to content

add user_id as input to header too for http batch V2 API#97

Merged
giorgosHadji merged 1 commit intomainfrom
user_id
Mar 19, 2026
Merged

add user_id as input to header too for http batch V2 API#97
giorgosHadji merged 1 commit intomainfrom
user_id

Conversation

@giorgosHadji
Copy link
Contributor

@giorgosHadji giorgosHadji commented Mar 17, 2026

add user_id as input to header too for http batch V2 API, follow up from #95.

Usage with:

from speechmatics.batch import AsyncClient

async def main():
    async with AsyncClient(url='http://localhost:9002/v2') as client:
        result = await client.transcribe(sys.argv[1],parallel_engines=2, user_id="MY_USER_ID")
        print(result)

asyncio.run(main())

Copy link
Collaborator

@dumitrugutu dumitrugutu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@giorgosHadji giorgosHadji merged commit 2e67e0c into main Mar 19, 2026
25 checks passed
@giorgosHadji giorgosHadji deleted the user_id branch March 19, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants